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