public class DefaultNutsRepositorySecurityManager extends Object implements net.thevpc.nuts.NutsRepositorySecurityManager
| Constructor and Description |
|---|
DefaultNutsRepositorySecurityManager(DefaultNutsRepositorySecurityModel model) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsAddUserCommand |
addUser(String name) |
net.thevpc.nuts.NutsRepositorySecurityManager |
checkAllowed(String right,
String operationName) |
net.thevpc.nuts.NutsRepositorySecurityManager |
checkCredentials(char[] credentialsId,
char[] password) |
char[] |
createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId) |
net.thevpc.nuts.NutsUser[] |
findUsers() |
net.thevpc.nuts.NutsAuthenticationAgent |
getAuthenticationAgent(String id) |
char[] |
getCredentials(char[] credentialsId) |
net.thevpc.nuts.NutsUser |
getEffectiveUser(String username) |
DefaultNutsRepositorySecurityModel |
getModel() |
net.thevpc.nuts.NutsSession |
getSession() |
boolean |
isAllowed(String right) |
boolean |
removeCredentials(char[] credentialsId) |
net.thevpc.nuts.NutsRemoveUserCommand |
removeUser(String name) |
net.thevpc.nuts.NutsRepositorySecurityManager |
setAuthenticationAgent(String authenticationAgent) |
net.thevpc.nuts.NutsRepositorySecurityManager |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsUpdateUserCommand |
updateUser(String name) |
public DefaultNutsRepositorySecurityManager(DefaultNutsRepositorySecurityModel model)
public net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsRepositorySecurityManager setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic DefaultNutsRepositorySecurityModel getModel()
public net.thevpc.nuts.NutsRepositorySecurityManager checkAllowed(String right, String operationName)
checkAllowed in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsAddUserCommand addUser(String name)
addUser in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsUpdateUserCommand updateUser(String name)
updateUser in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsRemoveUserCommand removeUser(String name)
removeUser in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic boolean isAllowed(String right)
isAllowed in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsUser[] findUsers()
findUsers in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsUser getEffectiveUser(String username)
getEffectiveUser in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsAuthenticationAgent getAuthenticationAgent(String id)
getAuthenticationAgent in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsRepositorySecurityManager setAuthenticationAgent(String authenticationAgent)
setAuthenticationAgent in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic net.thevpc.nuts.NutsRepositorySecurityManager checkCredentials(char[] credentialsId,
char[] password)
throws net.thevpc.nuts.NutsSecurityException
checkCredentials in interface net.thevpc.nuts.NutsRepositorySecurityManagernet.thevpc.nuts.NutsSecurityExceptionpublic char[] getCredentials(char[] credentialsId)
getCredentials in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic boolean removeCredentials(char[] credentialsId)
removeCredentials in interface net.thevpc.nuts.NutsRepositorySecurityManagerpublic char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId)
createCredentials in interface net.thevpc.nuts.NutsRepositorySecurityManagerCopyright © 2021 vpc open source initiative. All rights reserved.