Class ReportAuthenticationStore
- java.lang.Object
-
- org.pentaho.reporting.designer.core.auth.ReportAuthenticationStore
-
- All Implemented Interfaces:
AuthenticationStore
public class ReportAuthenticationStore extends Object implements AuthenticationStore
Todo: Document me!- Author:
- Thomas Morgner.
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.designer.core.auth.AuthenticationStore
PASSWORD_KEY, TIMEOUT_KEY, USER_KEY
-
-
Constructor Summary
Constructors Constructor Description ReportAuthenticationStore(AuthenticationStore backend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
ReportAuthenticationStore
public ReportAuthenticationStore(AuthenticationStore backend)
-
-
Method Detail
-
getUsername
public String getUsername(String url)
- Specified by:
getUsername
in interfaceAuthenticationStore
-
getPassword
public String getPassword(String url)
- Specified by:
getPassword
in interfaceAuthenticationStore
-
getOption
public String getOption(String url, String key)
- Specified by:
getOption
in interfaceAuthenticationStore
-
getDefinedOptions
public String[] getDefinedOptions(String url)
- Specified by:
getDefinedOptions
in interfaceAuthenticationStore
-
getKnownURLs
public String[] getKnownURLs()
- Specified by:
getKnownURLs
in interfaceAuthenticationStore
-
addCredentials
public void addCredentials(String url, String user, String password, Properties options, boolean persist)
- Specified by:
addCredentials
in interfaceAuthenticationStore
-
add
public void add(AuthenticationData data, boolean persist)
- Specified by:
add
in interfaceAuthenticationStore
-
removeCredentials
public void removeCredentials(String url)
- Specified by:
removeCredentials
in interfaceAuthenticationStore
-
getCredentials
public AuthenticationData getCredentials(String url)
- Specified by:
getCredentials
in interfaceAuthenticationStore
-
getIntOption
public int getIntOption(String path, String key, int defaultValue)
- Specified by:
getIntOption
in interfaceAuthenticationStore
-
-