public class DefaultNRepositorySecurityManager extends Object implements NRepositorySecurityManager
| Constructor and Description |
|---|
DefaultNRepositorySecurityManager(DefaultNRepositorySecurityModel model) |
| Modifier and Type | Method and Description |
|---|---|
NAddUserCmd |
addUser(String name) |
NRepositorySecurityManager |
checkAllowed(String right,
String operationName) |
NRepositorySecurityManager |
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) |
DefaultNRepositorySecurityModel |
getModel() |
boolean |
isAllowed(String right) |
boolean |
removeCredentials(char[] credentialsId) |
NRemoveUserCmd |
removeUser(String name) |
NRepositorySecurityManager |
setAuthenticationAgent(String authenticationAgent) |
NUpdateUserCmd |
updateUser(String name) |
public DefaultNRepositorySecurityManager(DefaultNRepositorySecurityModel model)
public DefaultNRepositorySecurityModel getModel()
public NRepositorySecurityManager checkAllowed(String right, String operationName)
checkAllowed in interface NRepositorySecurityManagerpublic NAddUserCmd addUser(String name)
addUser in interface NRepositorySecurityManagerpublic NUpdateUserCmd updateUser(String name)
updateUser in interface NRepositorySecurityManagerpublic NRemoveUserCmd removeUser(String name)
removeUser in interface NRepositorySecurityManagerpublic boolean isAllowed(String right)
isAllowed in interface NRepositorySecurityManagerpublic List<NUser> findUsers()
findUsers in interface NRepositorySecurityManagerpublic NUser getEffectiveUser(String username)
getEffectiveUser in interface NRepositorySecurityManagerpublic NAuthenticationAgent getAuthenticationAgent(String id)
getAuthenticationAgent in interface NRepositorySecurityManagerpublic NRepositorySecurityManager setAuthenticationAgent(String authenticationAgent)
setAuthenticationAgent in interface NRepositorySecurityManagerpublic NRepositorySecurityManager checkCredentials(char[] credentialsId, char[] password) throws NSecurityException
checkCredentials in interface NRepositorySecurityManagerNSecurityExceptionpublic char[] getCredentials(char[] credentialsId)
getCredentials in interface NRepositorySecurityManagerpublic boolean removeCredentials(char[] credentialsId)
removeCredentials in interface NRepositorySecurityManagerpublic char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId)
createCredentials in interface NRepositorySecurityManagerCopyright © 2025 vpc open source initiative. All rights reserved.