|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.acl.CentraSiteAclContext
public class CentraSiteAclContext
Default implementation of the CentraSiteAclContext
, which is built
by reading a JAXR connections authentication details.
Constructor Summary | |
---|---|
CentraSiteAclContext(java.lang.String pUser,
java.lang.String[] pRoles,
boolean pCaseSensitive)
Creates a new instance, which is reading data from the given Connection . |
Method Summary | |
---|---|
boolean |
hasRole(java.lang.String pId)
Returns, whether the context specifies, that the user has the given role. |
boolean |
isUser(java.lang.String pId)
Returns, whether the user specified by the context has the given login ID. |
static CentraSiteAclContext |
newInstance(javax.xml.registry.Connection pConnection,
boolean pCaseSensitive)
Creates a new instance, which is reading the given connections user settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CentraSiteAclContext(java.lang.String pUser, java.lang.String[] pRoles, boolean pCaseSensitive)
Connection
.
Method Detail |
---|
public static CentraSiteAclContext newInstance(javax.xml.registry.Connection pConnection, boolean pCaseSensitive) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public boolean hasRole(java.lang.String pId) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
RoleAclProvider.RoleAclContext
hasRole
in interface RoleAclProvider.RoleAclContext
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
public boolean isUser(java.lang.String pId) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
UserAclProvider.UserAclContext
isUser
in interface UserAclProvider.UserAclContext
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |