public class DefaultNRepositorySecurityModel extends Object
| Constructor and Description |
|---|
DefaultNRepositorySecurityModel(net.thevpc.nuts.NRepository repo) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NAddUserCmd |
addUser(String name) |
void |
checkAllowed(String right,
String operationName) |
void |
checkCredentials(char[] credentialsId,
char[] password) |
char[] |
createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId) |
List<net.thevpc.nuts.NUser> |
findUsers() |
net.thevpc.nuts.security.NAuthenticationAgent |
getAuthenticationAgent(String id) |
char[] |
getCredentials(char[] credentialsId) |
net.thevpc.nuts.NUser |
getEffectiveUser(String username) |
net.thevpc.nuts.NRepository |
getRepository() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
boolean |
isAllowed(String right) |
boolean |
removeCredentials(char[] credentialsId) |
net.thevpc.nuts.NRemoveUserCmd |
removeUser(String name) |
void |
setAuthenticationAgent(String authenticationAgent) |
net.thevpc.nuts.NUpdateUserCmd |
updateUser(String name) |
public DefaultNRepositorySecurityModel(net.thevpc.nuts.NRepository repo)
public net.thevpc.nuts.NAddUserCmd addUser(String name)
public net.thevpc.nuts.NUpdateUserCmd updateUser(String name)
public net.thevpc.nuts.NRemoveUserCmd removeUser(String name)
public boolean isAllowed(String right)
public List<net.thevpc.nuts.NUser> findUsers()
public net.thevpc.nuts.NUser getEffectiveUser(String username)
public net.thevpc.nuts.security.NAuthenticationAgent getAuthenticationAgent(String id)
public void setAuthenticationAgent(String authenticationAgent)
public void checkCredentials(char[] credentialsId,
char[] password)
throws net.thevpc.nuts.NSecurityException
net.thevpc.nuts.NSecurityExceptionpublic char[] getCredentials(char[] credentialsId)
public boolean removeCredentials(char[] credentialsId)
public char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId)
public net.thevpc.nuts.NRepository getRepository()
public net.thevpc.nuts.NWorkspace getWorkspace()
Copyright © 2025 vpc open source initiative. All rights reserved.