public class DefaultAuthorizable extends java.lang.Object implements IAuthorizable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<byte[]> |
authdata
The authentication data.
|
protected java.lang.String |
dcontent
The digest content (the content the digest should be applied to).
|
protected long |
dur
The validity duration.
|
protected long |
timestamp
The timestamp.
|
Constructor and Description |
---|
DefaultAuthorizable()
Bean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<byte[]> |
getAuthenticationData()
The authentication data.
|
java.lang.String |
getDigestContent()
Get the digestContent.
|
java.lang.String |
getSecurityLevel()
Get the security level of the request.
|
long |
getTimestamp()
The time stamp of the command.
|
long |
getValidityDuration()
Get the validity duration (in millis).
|
void |
setAuthenticationData(java.util.List<byte[]> authdata)
Set the authentication data.
|
void |
setDigestContent(java.lang.String dcontent)
Set the digestContent.
|
void |
setTimestamp(long timestamp)
Set the time stamp of the command.
|
void |
setValidityDuration(long dur)
Set the validity duration (in millis).
|
protected long timestamp
protected java.util.List<byte[]> authdata
protected java.lang.String dcontent
protected long dur
public java.lang.String getSecurityLevel()
getSecurityLevel
in interface IAuthorizable
public long getValidityDuration()
getValidityDuration
in interface IAuthorizable
public void setValidityDuration(long dur)
dur
- The validity duration to set (in millis).public java.lang.String getDigestContent()
getDigestContent
in interface IAuthorizable
public void setDigestContent(java.lang.String dcontent)
dcontent
- The digestContent to set.public long getTimestamp()
getTimestamp
in interface IAuthorizable
public java.util.List<byte[]> getAuthenticationData()
getAuthenticationData
in interface IAuthorizable
public void setTimestamp(long timestamp)
setTimestamp
in interface IAuthorizable
timestamp
- The time stamp.public void setAuthenticationData(java.util.List<byte[]> authdata)
setAuthenticationData
in interface IAuthorizable
authdata
- The authentication data.