public class DefaultAuthorizable extends Object implements IAuthorizable
| Constructor and Description |
|---|
DefaultAuthorizable()
Bean constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<byte[]> |
getAuthenticationData()
The authentication data.
|
String |
getDigestContent()
Get the digestContent.
|
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(List<byte[]> authdata)
Set the authentication data.
|
void |
setDigestContent(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).
|
public String getSecurityLevel()
getSecurityLevel in interface IAuthorizablepublic long getValidityDuration()
getValidityDuration in interface IAuthorizablepublic void setValidityDuration(long dur)
dur - The validity duration to set (in millis).public String getDigestContent()
getDigestContent in interface IAuthorizablepublic void setDigestContent(String dcontent)
dcontent - The digestContent to set.public long getTimestamp()
getTimestamp in interface IAuthorizablepublic List<byte[]> getAuthenticationData()
getAuthenticationData in interface IAuthorizablepublic void setTimestamp(long timestamp)
setTimestamp in interface IAuthorizabletimestamp - The time stamp.public void setAuthenticationData(List<byte[]> authdata)
setAuthenticationData in interface IAuthorizableauthdata - The authentication data.Copyright © 2015. All Rights Reserved.