Package com.sun.xml.ws.security.opt.impl.keyinfo

Examples of com.sun.xml.ws.security.opt.impl.keyinfo.UsernameTokenBuilder


                context.setUsernameTokenBinding(null);
            } else {
                usernameTokenBinding =(AuthenticationTokenPolicy.UsernameTokenBinding)keyBinding;
            }     
            signingKey = usernameTokenBinding.getSecretKey();
            builder = new UsernameTokenBuilder(context,usernameTokenBinding);
            BuilderResult untResult = builder.process();           
            untResult.setDataProtectionKey(signingKey);
            return untResult;
           
        } else if(PolicyTypeUtil.x509CertificateBinding(keyBinding)) {
View Full Code Here


                context.setUsernameTokenBinding(null);
            } else {
                usernameTokenBinding =(AuthenticationTokenPolicy.UsernameTokenBinding)keyBinding;
            }     
            signingKey = usernameTokenBinding.getSecretKey();
            builder = new UsernameTokenBuilder(context,usernameTokenBinding);
            BuilderResult untResult = builder.process();           
            untResult.setDataProtectionKey(signingKey);
            return untResult;
           
        } else if(PolicyTypeUtil.x509CertificateBinding(keyBinding)) {
View Full Code Here

                context.setUsernameTokenBinding(null);
            }else {
                untBinding = (AuthenticationTokenPolicy.UsernameTokenBinding)keyBinding;
            }   
            this.dataEncKey = untBinding.getSecretKey();
            builder = new UsernameTokenBuilder(context, untBinding);
            BuilderResult untResult = builder.process();
            untResult.setDataProtectionKey(dataEncKey);
            return untResult;           
           
        } else if(PolicyTypeUtil.x509CertificateBinding(keyBinding)) {
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.security.opt.impl.keyinfo.UsernameTokenBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.