public abstract class AbstractNAuthenticationAgent extends Object implements NAuthenticationAgent
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
AbstractNAuthenticationAgent(String name,
int score) |
| 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 |
getScore(NScorableContext authenticationAgent) |
protected abstract char[] |
hashChars(char[] data,
String passphrase) |
boolean |
removeCredentials(char[] credentialsId,
Map<String,String> envProvider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic AbstractNAuthenticationAgent(String name, int score)
public String getId()
getId in interface NAuthenticationAgentpublic boolean removeCredentials(char[] credentialsId,
Map<String,String> envProvider)
removeCredentials in interface NAuthenticationAgentpublic int getScore(NScorableContext authenticationAgent)
getScore in interface NComponentgetScore in interface NScorablepublic 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.