public class MdwAuthProvider extends java.lang.Object implements AuthTokenProvider
Constructor and Description |
---|
MdwAuthProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getToken(java.net.URL endpoint,
java.lang.String user) |
byte[] |
getToken(java.net.URL endpoint,
java.lang.String user,
java.lang.String password) |
void |
invalidateToken(java.net.URL endpoint,
java.lang.String user) |
protected java.lang.String |
invokeAuth(java.lang.String user,
java.lang.String password) |
protected void |
putToken(java.net.URL endpoint,
java.lang.String user,
java.lang.String token) |
void |
setOptions(java.util.Map<java.lang.String,java.lang.String> options) |
public byte[] getToken(java.net.URL endpoint, java.lang.String user, java.lang.String password) throws MdwSecurityException
getToken
in interface AuthTokenProvider
MdwSecurityException
protected java.lang.String getToken(java.net.URL endpoint, java.lang.String user)
protected void putToken(java.net.URL endpoint, java.lang.String user, java.lang.String token)
protected java.lang.String invokeAuth(java.lang.String user, java.lang.String password) throws MdwSecurityException
MdwSecurityException
public void setOptions(java.util.Map<java.lang.String,java.lang.String> options)
setOptions
in interface AuthTokenProvider
public void invalidateToken(java.net.URL endpoint, java.lang.String user)
invalidateToken
in interface AuthTokenProvider
Copyright © 2019 CenturyLink, Inc.