Package org.jboss.security.identity.extensions

Examples of org.jboss.security.identity.extensions.CertificateIdentityFactory


           
            //Update the invocation security context
            SecurityContext invSC = mi.getSecurityContext();
            if(invSC != null)
            {
               CertificateIdentityFactory identityFactory = (CertificateIdentityFactory)
                                      IdentityFactory.getFactory(IdentityType.CERTIFICATE);
               CertificateIdentity certIdentity = identityFactory.createIdentity(caller, certs, null);
               invSC.getUtil().clearIdentities(CredentialIdentity.class);
               invSC.getUtil().addIdentity(certIdentity);
            }
         }
      }
View Full Code Here

TOP

Related Classes of org.jboss.security.identity.extensions.CertificateIdentityFactory

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.