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