|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.userprofiling.RepositoryNameAccessController
public class RepositoryNameAccessController
This class grants or denies access based on the name of the repository that contains the profile. The purpose is to allow configuration of AccessController components that keep internal users out of external applications, and vice-versa.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
RepositoryNameAccessController()
|
Method Summary | |
---|---|
boolean |
allowAccess(Profile pProfile,
DynamoHttpServletRequest pRequest)
Returns true if a user (represented by the specified Profile) should be allowed access, false if not. |
java.util.List |
getAllowedRepositoryNames()
|
java.lang.String |
getDeniedAccessURL()
Returns a URL the user should be redirected to if allowAccess returns false. |
java.lang.String |
getDeniedAccessURL(Profile pProfile)
Returns a URL the user should be redirected to if allowAccess returns false. |
void |
setAllowedRepositoryNames(java.util.List pAllowedRepositoryNames)
The names of the repositories whose members will be allowed access |
void |
setDeniedAccessURL(java.lang.String pDeniedAccessURL)
A URL the user should be redirected to if allowAccess returns false |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RepositoryNameAccessController()
Method Detail |
---|
public void setAllowedRepositoryNames(java.util.List pAllowedRepositoryNames)
pAccessRights
- the names of the repositories whose members will be allowed accesspublic java.util.List getAllowedRepositoryNames()
public void setDeniedAccessURL(java.lang.String pDeniedAccessURL)
pDeniedAccessURL
- the URL the user should be redirected to if allowAccess returns falsepublic java.lang.String getDeniedAccessURL()
public java.lang.String getDeniedAccessURL(Profile pProfile)
getDeniedAccessURL
in interface AccessController
public boolean allowAccess(Profile pProfile, DynamoHttpServletRequest pRequest)
allowAccess
in interface AccessController
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |