public abstract class AbstractNAuthenticationAgent extends Object implements net.thevpc.nuts.security.NAuthenticationAgent
| Constructor and Description |
|---|
AbstractNAuthenticationAgent(String name,
int supportLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCredentials(char[] credentialsId,
char[] password,
Map<String,String> envProvider) |
char[] |
createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
Map<String,String> envProvider) |
protected abstract char[] |
decryptChars(char[] data,
String passphrase) |
protected abstract char[] |
encryptChars(char[] data,
String passphrase) |
char[] |
getCredentials(char[] credentialsId,
Map<String,String> envProvider) |
String |
getId() |
String |
getPassphrase(Map<String,String> envProvider) |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext authenticationAgent) |
protected abstract char[] |
hashChars(char[] data,
String passphrase) |
boolean |
removeCredentials(char[] credentialsId,
Map<String,String> envProvider) |
public AbstractNAuthenticationAgent(String name, int supportLevel)
public String getId()
getId in interface net.thevpc.nuts.security.NAuthenticationAgentpublic boolean removeCredentials(char[] credentialsId,
Map<String,String> envProvider)
removeCredentials in interface net.thevpc.nuts.security.NAuthenticationAgentpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext authenticationAgent)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic void checkCredentials(char[] credentialsId,
char[] password,
Map<String,String> envProvider)
checkCredentials in interface net.thevpc.nuts.security.NAuthenticationAgentpublic char[] getCredentials(char[] credentialsId,
Map<String,String> envProvider)
getCredentials in interface net.thevpc.nuts.security.NAuthenticationAgentpublic char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
Map<String,String> envProvider)
createCredentials in interface net.thevpc.nuts.security.NAuthenticationAgentprotected abstract char[] decryptChars(char[] data,
String passphrase)
protected abstract char[] encryptChars(char[] data,
String passphrase)
protected abstract char[] hashChars(char[] data,
String passphrase)
Copyright © 2025 vpc open source initiative. All rights reserved.