Public Member Functions | |
SecurityContext () | |
SecurityContext (String principalName, String[] roles) | |
SecurityContext (String principalName, ArrayList arrayRoles) | |
SecurityContext (String principalName) | |
Principal | getCallerPrincipal (boolean inRunAs) |
String[] | getCallerPrincipalRoles (boolean inRunAs) |
void | pushRunAsRole (String role) |
void | pushRunAsPrincipal (String principalName, String[] roles) |
void | popRunAs () |
String | peekRunAsRole () |
String | peekRunAsPrincipal () |
String | peekLastRunAsPrincipal () |
String[] | peekRunAsPrincipalRoles () |
String[] | peekLastRunAsPrincipalRoles () |
ArrayList | getRunAsRoleStack () |
ArrayList | getRunAsPrincipalRolesStack () |
ArrayList | getRunAsPrincipalStack () |
String | toString () |
String | getPrincipalName () |
Protected Member Functions | |
SecurityContext (String principalName, ArrayList arrayRoles, ArrayList arrayRunas, ArrayList arrayRunasPrincipal, ArrayList arrayRunasPrincipalRoles) | |
String | getPrincipalName (boolean runningRunAs) |
String[] | getRoles () |
Florent Benoit
Definition at line 44 of file SecurityContext.java.
|
Constructor SecurityContext use the default principal name Definition at line 76 of file SecurityContext.java. |
|
Constructor SecurityContext
Definition at line 85 of file SecurityContext.java. |
|
Constructor SecurityContext
Definition at line 95 of file SecurityContext.java. |
|
Constructor SecurityContext
Definition at line 108 of file SecurityContext.java. |
|
Constructor SecurityContext
Definition at line 133 of file SecurityContext.java. |
|
Method getCallerPrincipal
Definition at line 145 of file SecurityContext.java. Referenced by org.objectweb.jonas.container.PrincipalFactoryImpl.getCallerPrincipal(), org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getContainerSubject(), and org.objectweb.jonas.security.iiop.SecurityContextHelper.getIdentityToken(). |
|
Return the roles of the principal
Definition at line 154 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.peekLastRunAsPrincipalRoles(), and org.objectweb.security.context.SecurityContext.peekRunAsPrincipalRoles(). Referenced by org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity(), and org.objectweb.jonas_ejb.container.PermissionManager.isCallerInRole(). |
Here is the call graph for this function:
|
Definition at line 342 of file SecurityContext.java. Referenced by org.objectweb.security.context.SecurityContext.InternalPrincipal.equals(), org.objectweb.security.context.SecurityContext.InternalPrincipal.getName(), org.objectweb.security.context.SecurityContext.InternalPrincipal.hashCode(), and org.objectweb.security.context.SecurityContext.InternalPrincipal.toString(). |
|
Definition at line 325 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.peekLastRunAsPrincipal(), and org.objectweb.security.context.SecurityContext.peekRunAsPrincipal(). Referenced by org.objectweb.jonas.security.iiop.SecurityContextHelper.getInitialContextToken(), and org.objectweb.security.context.Marshalling.marshallSecurityContext(). |
Here is the call graph for this function:
|
Definition at line 349 of file SecurityContext.java. Referenced by org.objectweb.security.context.Marshalling.marshallSecurityContext(). |
|
Gets the stack which manages the roles of the current run-as principal
Definition at line 282 of file SecurityContext.java. Referenced by org.objectweb.security.context.Marshalling.marshallSecurityContext(), org.objectweb.security.context.SecurityContext.peekLastRunAsPrincipalRoles(), org.objectweb.security.context.SecurityContext.peekRunAsPrincipalRoles(), org.objectweb.security.context.SecurityContext.popRunAs(), and org.objectweb.security.context.SecurityContext.pushRunAsPrincipal(). |
|
Gets the stack which manages the run-as principal
Definition at line 293 of file SecurityContext.java. Referenced by org.objectweb.security.context.Marshalling.marshallSecurityContext(), org.objectweb.security.context.SecurityContext.peekLastRunAsPrincipal(), org.objectweb.security.context.SecurityContext.peekRunAsPrincipal(), org.objectweb.security.context.SecurityContext.popRunAs(), and org.objectweb.security.context.SecurityContext.pushRunAsPrincipal(). |
|
Gets the stack which manages the run-as
Definition at line 271 of file SecurityContext.java. Referenced by org.objectweb.security.context.Marshalling.marshallSecurityContext(), org.objectweb.security.context.SecurityContext.peekRunAsRole(), org.objectweb.security.context.SecurityContext.popRunAs(), and org.objectweb.security.context.SecurityContext.pushRunAsRole(). |
|
Peek : Looks at the object at the top of this stack without removing it from the stack.
Definition at line 233 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalStack(). Referenced by org.objectweb.security.context.SecurityContext.getPrincipalName(). |
Here is the call graph for this function:
|
Peek : Looks at the object at the top of this stack without removing it from the stack.
Definition at line 259 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalRolesStack(). Referenced by org.objectweb.security.context.SecurityContext.getCallerPrincipalRoles(). |
Here is the call graph for this function:
|
Peek : Looks at the object at the top of this stack without removing it from the stack.
Definition at line 220 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalStack(). Referenced by org.objectweb.jonas.security.iiop.SecurityContextHelper.getIdentityToken(), and org.objectweb.security.context.SecurityContext.getPrincipalName(). |
Here is the call graph for this function:
|
Peek : Looks at the object at the top of this stack without removing it from the stack.
Definition at line 246 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalRolesStack(). Referenced by org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity(), and org.objectweb.security.context.SecurityContext.getCallerPrincipalRoles(). |
Here is the call graph for this function:
|
Peek : Looks at the object at the top of this stack without removing it from the stack.
Definition at line 207 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsRoleStack(). Referenced by org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity(), and org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getContainerSubject(). |
Here is the call graph for this function:
|
Pop : Removes the object at the top of the run-as stack Definition at line 190 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalRolesStack(), org.objectweb.security.context.SecurityContext.getRunAsPrincipalStack(), and org.objectweb.security.context.SecurityContext.getRunAsRoleStack(). Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), and org.objectweb.jonas_ejb.container.JFactory.postInvoke(). |
Here is the call graph for this function:
|
Push : Pushes an item onto the top of this stack.
Definition at line 182 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsPrincipalRolesStack(), and org.objectweb.security.context.SecurityContext.getRunAsPrincipalStack(). Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(). |
Here is the call graph for this function:
|
Push : Pushes an item onto the top of this stack.
Definition at line 172 of file SecurityContext.java. References org.objectweb.security.context.SecurityContext.getRunAsRoleStack(). Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(). |
Here is the call graph for this function:
|
Method toString
Definition at line 304 of file SecurityContext.java. Referenced by org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor.contextString(). |