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