public abstract class AbstractNAuthenticationAgent extends Object implements net.thevpc.nuts.security.NAuthenticationAgent
| Constructor and Description |
|---|
AbstractNAuthenticationAgent(String name,
net.thevpc.nuts.artifact.NVersion version) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.security.NSecureToken |
addOneWayCredential(net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> env) |
net.thevpc.nuts.security.NSecureToken |
addSecret(net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> env) |
protected abstract net.thevpc.nuts.security.NSecureString |
decryptChars(net.thevpc.nuts.security.NSecureString data,
Function<String,String> env) |
protected abstract net.thevpc.nuts.security.NSecureString |
encryptChars(net.thevpc.nuts.security.NSecureString data,
Function<String,String> env) |
String |
getPassphrase(Function<String,String> envProvider) |
String |
id() |
protected boolean |
isSupportedVersion(net.thevpc.nuts.artifact.NVersion version) |
protected abstract net.thevpc.nuts.security.NSecureString |
oneWayChars(net.thevpc.nuts.security.NSecureString data,
Function<String,String> env) |
boolean |
removeCredentials(net.thevpc.nuts.security.NSecureToken credentialsId,
Function<String,String> envProvider) |
net.thevpc.nuts.security.NSecureToken |
updateOneWay(net.thevpc.nuts.security.NSecureToken old,
net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> envProvider) |
net.thevpc.nuts.security.NSecureToken |
updateSecret(net.thevpc.nuts.security.NSecureToken old,
net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> envProvider) |
boolean |
verify(net.thevpc.nuts.security.NSecureToken id,
net.thevpc.nuts.security.NSecureString candidate,
Function<String,String> env) |
protected boolean |
verifyOneWayImpl(net.thevpc.nuts.security.NSecureString candidate,
net.thevpc.nuts.security.NSecureString storedHash,
Function<String,String> env) |
<T> T |
withSecret(net.thevpc.nuts.security.NSecureToken id,
net.thevpc.nuts.security.NSecretCaller<T> consumer,
Function<String,String> env) |
public AbstractNAuthenticationAgent(String name, net.thevpc.nuts.artifact.NVersion version)
public String id()
id in interface net.thevpc.nuts.security.NAuthenticationAgentpublic boolean removeCredentials(net.thevpc.nuts.security.NSecureToken credentialsId,
Function<String,String> envProvider)
removeCredentials in interface net.thevpc.nuts.security.NAuthenticationAgentpublic <T> T withSecret(net.thevpc.nuts.security.NSecureToken id,
net.thevpc.nuts.security.NSecretCaller<T> consumer,
Function<String,String> env)
withSecret in interface net.thevpc.nuts.security.NAuthenticationAgentprotected boolean verifyOneWayImpl(net.thevpc.nuts.security.NSecureString candidate,
net.thevpc.nuts.security.NSecureString storedHash,
Function<String,String> env)
public boolean verify(net.thevpc.nuts.security.NSecureToken id,
net.thevpc.nuts.security.NSecureString candidate,
Function<String,String> env)
verify in interface net.thevpc.nuts.security.NAuthenticationAgentprotected boolean isSupportedVersion(net.thevpc.nuts.artifact.NVersion version)
public net.thevpc.nuts.security.NSecureToken addSecret(net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> env)
addSecret in interface net.thevpc.nuts.security.NAuthenticationAgentpublic net.thevpc.nuts.security.NSecureToken updateSecret(net.thevpc.nuts.security.NSecureToken old,
net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> envProvider)
updateSecret in interface net.thevpc.nuts.security.NAuthenticationAgentpublic net.thevpc.nuts.security.NSecureToken addOneWayCredential(net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> env)
addOneWayCredential in interface net.thevpc.nuts.security.NAuthenticationAgentpublic net.thevpc.nuts.security.NSecureToken updateOneWay(net.thevpc.nuts.security.NSecureToken old,
net.thevpc.nuts.security.NSecureString credentials,
Function<String,String> envProvider)
updateOneWay in interface net.thevpc.nuts.security.NAuthenticationAgentprotected abstract net.thevpc.nuts.security.NSecureString decryptChars(net.thevpc.nuts.security.NSecureString data,
Function<String,String> env)
protected abstract net.thevpc.nuts.security.NSecureString encryptChars(net.thevpc.nuts.security.NSecureString data,
Function<String,String> env)
Copyright © 2026 vpc open source initiative. All rights reserved.