org.opencrx.kernel.layer.model
Class SecurityContext
java.lang.Object
org.opencrx.kernel.layer.model.SecurityContext
public class SecurityContext
- extends Object
A security context manages the principals of one realm.
|
Method Summary |
protected Set<String> |
getMemberships(org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal principal,
Path userIdentity,
short accessLevel,
boolean useExtendedAccessLevelBasic)
|
protected Path |
getPrimaryGroup(org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal principal)
|
protected org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal |
getPrincipal(String principalName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin
protected final AccessControl_1 plugin
realmIdentity
protected final Path realmIdentity
SecurityContext
public SecurityContext(AccessControl_1 plugin,
Path realmIdentity)
throws ServiceException
- Throws:
ServiceException
getPrincipal
protected org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal getPrincipal(String principalName)
throws ServiceException
- Throws:
ServiceException
getPrimaryGroup
protected Path getPrimaryGroup(org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal principal)
throws ServiceException
- Throws:
ServiceException
getMemberships
protected Set<String> getMemberships(org.opencrx.kernel.layer.model.SecurityContext.CachedPrincipal principal,
Path userIdentity,
short accessLevel,
boolean useExtendedAccessLevelBasic)
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.