public class ReportAuthenticationStore extends Object implements AuthenticationStore
PASSWORD_KEY, TIMEOUT_KEY, USER_KEY
Constructor and Description |
---|
ReportAuthenticationStore(AuthenticationStore backend) |
Modifier and Type | Method and Description |
---|---|
void |
add(AuthenticationData data,
boolean persist) |
void |
addCredentials(String url,
String user,
String password,
Properties options,
boolean persist) |
AuthenticationData |
getCredentials(String url) |
String[] |
getDefinedOptions(String url) |
int |
getIntOption(String path,
String key,
int defaultValue) |
String[] |
getKnownURLs() |
String |
getOption(String url,
String key) |
String |
getPassword(String url) |
String |
getUsername(String url) |
void |
removeCredentials(String url) |
public ReportAuthenticationStore(AuthenticationStore backend)
public String getUsername(String url)
getUsername
in interface AuthenticationStore
public String getPassword(String url)
getPassword
in interface AuthenticationStore
public String getOption(String url, String key)
getOption
in interface AuthenticationStore
public String[] getDefinedOptions(String url)
getDefinedOptions
in interface AuthenticationStore
public String[] getKnownURLs()
getKnownURLs
in interface AuthenticationStore
public void addCredentials(String url, String user, String password, Properties options, boolean persist)
addCredentials
in interface AuthenticationStore
public void add(AuthenticationData data, boolean persist)
add
in interface AuthenticationStore
public void removeCredentials(String url)
removeCredentials
in interface AuthenticationStore
public AuthenticationData getCredentials(String url)
getCredentials
in interface AuthenticationStore
public int getIntOption(String path, String key, int defaultValue)
getIntOption
in interface AuthenticationStore
Copyright © 2017 Hitachi Vantara. All rights reserved.