Class AuthenticationData
- java.lang.Object
-
- org.pentaho.reporting.designer.core.auth.AuthenticationData
-
- All Implemented Interfaces:
Serializable
,PreferencesMap.ConfigurationData
public class AuthenticationData extends Object implements Serializable, PreferencesMap.ConfigurationData
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationData(String url)
AuthenticationData(String url, long lastChanged)
AuthenticationData(String baseUrl, String username, String password, int timeout)
AuthenticationData(AuthenticationData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String[]
getDefinedOptions()
String
getKey()
long
getLastChanged()
String
getOption(String key)
String
getPassword()
int
getTimeout()
String
getUrl()
String
getUsername()
int
hashCode()
void
setLastChanged(long time)
void
setOption(String key, String value)
-
-
-
Constructor Detail
-
AuthenticationData
public AuthenticationData(String url)
-
AuthenticationData
public AuthenticationData(AuthenticationData data)
-
AuthenticationData
public AuthenticationData(String baseUrl, String username, String password, int timeout)
-
AuthenticationData
public AuthenticationData(String url, long lastChanged)
-
-
Method Detail
-
getUrl
public String getUrl()
-
getOption
public String getOption(String key)
- Specified by:
getOption
in interfacePreferencesMap.ConfigurationData
-
getKey
public String getKey()
- Specified by:
getKey
in interfacePreferencesMap.ConfigurationData
-
getDefinedOptions
public String[] getDefinedOptions()
- Specified by:
getDefinedOptions
in interfacePreferencesMap.ConfigurationData
-
setOption
public void setOption(String key, String value)
- Specified by:
setOption
in interfacePreferencesMap.ConfigurationData
-
getLastChanged
public long getLastChanged()
- Specified by:
getLastChanged
in interfacePreferencesMap.ConfigurationData
-
setLastChanged
public void setLastChanged(long time)
- Specified by:
setLastChanged
in interfacePreferencesMap.ConfigurationData
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getTimeout
public int getTimeout()
-
-