public abstract class AbstractNAuthenticationAgent extends Object implements 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(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 NAuthenticationAgentpublic boolean removeCredentials(char[] credentialsId,
Map<String,String> envProvider)
removeCredentials in interface NAuthenticationAgentpublic int getSupportLevel(NSupportLevelContext authenticationAgent)
getSupportLevel in interface NComponentpublic void checkCredentials(char[] credentialsId,
char[] password,
Map<String,String> envProvider)
checkCredentials in interface NAuthenticationAgentpublic char[] getCredentials(char[] credentialsId,
Map<String,String> envProvider)
getCredentials in interface NAuthenticationAgentpublic char[] createCredentials(char[] credentials,
boolean allowRetrieve,
char[] credentialId,
Map<String,String> envProvider)
createCredentials in interface 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.