com.adobe.edc.server.spi.authorization
Class ExternalAuthResultDTO

java.lang.Object
  extended by com.adobe.edc.server.spi.authorization.ExternalAuthResultDTO
All Implemented Interfaces:
Serializable

public class ExternalAuthResultDTO
extends Object
implements Serializable

The ExternalAuthResultDTO class is used by the ExternalAuthorizer interface to return the result as part of the evaluate() method.

See Also:
Serialized Form

Constructor Summary
ExternalAuthResultDTO()
           
 
Method Summary
 Long getExiprationDate()
          Retrieves the expiration time set by the external authorizer implementation.
 ArrayList getPermissions()
          Retrieves the permissions set by the external authorizer implementation.
 void setExiprationDate(Long exiprationDate)
          Sets the expiration date.
 void setPermissions(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

ExternalAuthResultDTO

public ExternalAuthResultDTO()
Method Detail

getExiprationDate

public Long getExiprationDate()
Retrieves the expiration time set by the external authorizer implementation.

Returns:
The expiration time.

setExiprationDate

public void setExiprationDate(Long exiprationDate)
Sets the expiration date. External authorizer implementation sets this value during the evaluate() method.

Parameters:
exiprationDate - The value of the expiration date.

getPermissions

public ArrayList getPermissions()
Retrieves the permissions set by the external authorizer implementation.

Returns:
An java.util.ArrayList of allowable permissions.

setPermissions

public void setPermissions(ArrayList permissions)
Sets a list of allowable permissions.

Parameters:
permissions - An java.util.ArrayList of permissions.


[an error occurred while processing this directive] [an error occurred while processing this directive]