|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.edc.server.spi.authorization.ExternalAuthResultDTO
public class ExternalAuthResultDTO
The ExternalAuthResultDTO class is used by the
ExternalAuthorizer interface to return the result as part of the
evaluate() method.
| Constructor Summary | |
|---|---|
ExternalAuthResultDTO()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAccessDeniedErrorMessage()
Retrieves the access denied error message set by the external authorizer implementation. |
java.lang.Long |
getExiprationDate()
Retrieves the expiration time set by the external authorizer implementation. |
java.lang.Long |
getOnlineExpirationDate()
Retrieves the online expiration date set by the external authorizer implementation. |
java.util.ArrayList |
getPermissions()
Retrieves the permissions set by the external authorizer implementation. |
void |
setAccessDeniedErrorMessage(java.lang.String accessDeniedErrorMessage)
Sets the access denied error message. |
void |
setExiprationDate(java.lang.Long exiprationDate)
Sets the expiration date. |
void |
setOnlineExpirationDate(java.lang.Long onlineExpirationDate)
Sets the online expiration date. |
void |
setPermissions(java.util.ArrayList permissions)
Sets a list of allowable permissions. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalAuthResultDTO()
| Method Detail |
|---|
public java.lang.String getAccessDeniedErrorMessage()
public void setAccessDeniedErrorMessage(java.lang.String accessDeniedErrorMessage)
evaluate() method.
accessDeniedErrorMessage - The access denied error message to set.public java.lang.Long getOnlineExpirationDate()
public void setOnlineExpirationDate(java.lang.Long onlineExpirationDate)
evaluate() method.
onlineExiprationDate - The value of the online expiration date. The date should be represented as seconds elapsed since epoch time.public java.lang.Long getExiprationDate()
public void setExiprationDate(java.lang.Long exiprationDate)
evaluate() method.
exiprationDate - The value of the expiration date.public java.util.ArrayList getPermissions()
java.util.ArrayList of allowable permissions.public void setPermissions(java.util.ArrayList permissions)
permissions - An java.util.ArrayList of permissions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||