|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencrx.kernel.layer.model.SecurityContext
public class SecurityContext
A security context manages the subjects of one subject segment.
| Constructor Summary | |
|---|---|
SecurityContext(AccessControl_1 plugin,
Path realmIdentity)
|
|
| Method Summary | |
|---|---|
protected DataproviderObject_1_0 |
getGroup(DataproviderObject_1_0 principal)
Get group principal for the given principal. |
protected Set<String> |
getMemberships(DataproviderObject_1_0 principal,
DataproviderObject_1_0 user,
short accessLevel)
|
protected DataproviderObject_1_0 |
getPrimaryGroup(DataproviderObject_1_0 principal)
|
protected DataproviderObject_1_0 |
getPrincipal(String principalName)
|
protected Set |
getSubgroups(String qualifiedPrincipalName)
Return set of qualified names of subgroups of specified group subject. |
protected Set |
getSupergroups(String qualifiedPrincipalName)
Return set of qualified names of subgroups of specified group subject. |
protected DataproviderObject_1_0 |
getUserHome(Path principalIdentity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityContext(AccessControl_1 plugin,
Path realmIdentity)
| Method Detail |
|---|
protected DataproviderObject_1_0 getPrincipal(String principalName)
throws ServiceException
ServiceException
protected DataproviderObject_1_0 getUserHome(Path principalIdentity)
throws ServiceException
ServiceException
protected DataproviderObject_1_0 getPrimaryGroup(DataproviderObject_1_0 principal)
throws ServiceException
ServiceException
protected DataproviderObject_1_0 getGroup(DataproviderObject_1_0 principal)
throws ServiceException
ServiceException
protected Set getSubgroups(String qualifiedPrincipalName)
throws ServiceException
ServiceException
protected Set getSupergroups(String qualifiedPrincipalName)
throws ServiceException
ServiceException
protected Set<String> getMemberships(DataproviderObject_1_0 principal,
DataproviderObject_1_0 user,
short accessLevel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||