public abstract class AbstractNutsAuthenticationAgent extends Object implements net.thevpc.nuts.spi.NutsAuthenticationAgent
| Constructor and Description |
|---|
AbstractNutsAuthenticationAgent(String name,
int supportLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCredentials(char[] credentialsId,
char[] password,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session) |
char[] |
createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session) |
protected abstract char[] |
decryptChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session) |
protected abstract char[] |
encryptChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session) |
char[] |
getCredentials(char[] credentialsId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session) |
String |
getId() |
String |
getPassphrase(Map<String,String> envProvider) |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext authenticationAgent) |
protected abstract char[] |
hashChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session) |
boolean |
removeCredentials(char[] credentialsId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session) |
public AbstractNutsAuthenticationAgent(String name, int supportLevel)
public String getId()
getId in interface net.thevpc.nuts.spi.NutsAuthenticationAgentpublic boolean removeCredentials(char[] credentialsId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session)
removeCredentials in interface net.thevpc.nuts.spi.NutsAuthenticationAgentpublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext authenticationAgent)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentpublic void checkCredentials(char[] credentialsId,
char[] password,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session)
checkCredentials in interface net.thevpc.nuts.spi.NutsAuthenticationAgentpublic char[] getCredentials(char[] credentialsId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session)
getCredentials in interface net.thevpc.nuts.spi.NutsAuthenticationAgentpublic char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
Map<String,String> envProvider,
net.thevpc.nuts.NutsSession session)
createCredentials in interface net.thevpc.nuts.spi.NutsAuthenticationAgentprotected abstract char[] decryptChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session)
protected abstract char[] encryptChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session)
protected abstract char[] hashChars(char[] data,
String passphrase,
net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.