public class DefaultNutsRepositorySecurityModel extends Object
| Constructor and Description |
|---|
DefaultNutsRepositorySecurityModel(NutsRepository repo) |
public DefaultNutsRepositorySecurityModel(NutsRepository repo)
public void checkAllowed(String right, String operationName, NutsSession session)
public NutsAddUserCommand addUser(String name, NutsSession session)
public NutsUpdateUserCommand updateUser(String name, NutsSession session)
public NutsRemoveUserCommand removeUser(String name, NutsSession session)
public boolean isAllowed(String right, NutsSession session)
public NutsUser[] findUsers(NutsSession session)
public NutsUser getEffectiveUser(String username, NutsSession session)
public NutsAuthenticationAgent getAuthenticationAgent(String id, NutsSession session)
public void setAuthenticationAgent(String authenticationAgent, NutsSession session)
public void checkCredentials(char[] credentialsId,
char[] password,
NutsSession session)
throws NutsSecurityException
NutsSecurityExceptionpublic char[] getCredentials(char[] credentialsId,
NutsSession session)
public boolean removeCredentials(char[] credentialsId,
NutsSession session)
public char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
NutsSession session)
public NutsRepository getRepository()
public NutsWorkspace getWorkspace()
Copyright © 2021 vpc open source initiative. All rights reserved.