public class AccessControl_2.CachedPrincipal extends Object
Constructor and Description |
---|
CachedPrincipal(AccessControl_2.DefaultRealm realm,
org.openmdx.security.realm1.jmi1.Principal principal,
long expiresAt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllSupergroups() |
long |
getExpiresAt() |
org.openmdx.base.naming.Path |
getIdentity() |
Set<String> |
getIsMemberOf() |
protected Set<String[]> |
getPermissions(org.openmdx.security.realm1.jmi1.Principal principal)
Get permissions for given principal.
|
Set<String> |
getPermissions(String action) |
org.openmdx.base.naming.Path |
getPrimaryGroup() |
AccessControl_2.DefaultRealm |
getRealm() |
void |
setPrimaryGroup(org.openmdx.base.naming.Path primaryGroup) |
String |
toString() |
public CachedPrincipal(AccessControl_2.DefaultRealm realm, org.openmdx.security.realm1.jmi1.Principal principal, long expiresAt)
realm
- principal
- allSupergroups
- expiresAt
- protected Set<String[]> getPermissions(org.openmdx.security.realm1.jmi1.Principal principal)
principal
- public org.openmdx.base.naming.Path getIdentity()
public AccessControl_2.DefaultRealm getRealm()
public void setPrimaryGroup(org.openmdx.base.naming.Path primaryGroup)
public org.openmdx.base.naming.Path getPrimaryGroup()
public long getExpiresAt()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.