Package org.jboss.security.SecurityAssociation

Examples of org.jboss.security.SecurityAssociation.SubjectContext


   public void testSetPrincipalSubjectStack()
   {
      SecurityAssociation.clear();
      SecurityAssociation.setServer();
     
      SubjectContext subjectContext = SecurityAssociation.peekSubjectContext();
      assertTrue("SubjectContext is null", subjectContext == null);
     
      //Direct Usage of setPrincipal on the server side will increase subject ctx
      SecurityAssociation.setPrincipal(null);
      subjectContext = SecurityAssociation.peekSubjectContext();
View Full Code Here

TOP

Related Classes of org.jboss.security.SecurityAssociation.SubjectContext

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.