public class FedoraAdminSecurityContext extends Object implements org.modeshape.jcr.security.AuthorizationProvider, org.modeshape.jcr.security.SecurityContext
| Constructor and Description |
|---|
FedoraAdminSecurityContext(String username) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUserName() |
boolean |
hasPermission(org.modeshape.jcr.ExecutionContext context,
String repositoryName,
String repositorySourceName,
String workspaceName,
org.modeshape.jcr.value.Path absPath,
String... actions) |
boolean |
hasRole(String roleName) |
boolean |
isAnonymous() |
void |
logout() |
public FedoraAdminSecurityContext(String username)
username - the user namepublic boolean isAnonymous()
isAnonymous in interface org.modeshape.jcr.security.SecurityContextpublic String getUserName()
getUserName in interface org.modeshape.jcr.security.SecurityContextpublic boolean hasRole(String roleName)
hasRole in interface org.modeshape.jcr.security.SecurityContextpublic void logout()
logout in interface org.modeshape.jcr.security.SecurityContextpublic boolean hasPermission(org.modeshape.jcr.ExecutionContext context, String repositoryName, String repositorySourceName, String workspaceName, org.modeshape.jcr.value.Path absPath, String... actions)
hasPermission in interface org.modeshape.jcr.security.AuthorizationProviderCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.