Package org.jboss.soa.esb.services.security.auth

Examples of org.jboss.soa.esb.services.security.auth.AuthenticationRequestImpl$Builder


            if (subject != null)
            {
              try
              {
                    // Decrypt the authentication request.
                    final AuthenticationRequestImpl authRequest = (AuthenticationRequestImpl) PublicCryptoUtil.INSTANCE.decrypt(encryptedAuthRequest);
                    // Get all public credentials from the authentication request.
                    final Set credentials = authRequest.getCredentials();
                    // Add all of the Subjects public credentials to the authentication request
                    credentials.addAll(subject.getPublicCredentials());
                    // "Re-encrypt" the updated authRequest.
                    byte[] encrypt = PublicCryptoUtil.INSTANCE.encrypt(authRequest);
                    encryptedAuthRequest = encrypt;
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.services.security.auth.AuthenticationRequestImpl$Builder

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.