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
- public boolean isAnonymous()
isAnonymous
in interface org.modeshape.jcr.security.SecurityContext
public String getUserName()
getUserName
in interface org.modeshape.jcr.security.SecurityContext
public boolean hasRole(String roleName)
hasRole
in interface org.modeshape.jcr.security.SecurityContext
public void logout()
logout
in interface org.modeshape.jcr.security.SecurityContext
public 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.AuthorizationProvider
Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.