public class RepositoryNameAccessController extends java.lang.Object implements AccessController
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSION | 
| Constructor and Description | 
|---|
| RepositoryNameAccessController() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
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 AccessControllerpublic boolean allowAccess(Profile pProfile, DynamoHttpServletRequest pRequest)
allowAccess in interface AccessController