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