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

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

public class ExternalAuthPropertyDTO
extends java.lang.Object
implements java.io.Serializable

The ExternalAuthPropertyDTO class is used by the implementation to define custom properties and return the values to the Rights Management service during the getProviderProperties() method.

See Also:
Serialized Form

Constructor Summary
ExternalAuthPropertyDTO()
          This is the default constructor.
ExternalAuthPropertyDTO(java.lang.String name, java.lang.String value)
          A constructor that accepts name and value properties.
 
Method Summary
 java.lang.String getName()
          Retrieves the property name.
 java.lang.String getValue()
          Retrieves the property value.
 void setName(java.lang.String name)
          Sets the property name.
 void setValue(java.lang.String value)
          Sets the property value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalAuthPropertyDTO

public ExternalAuthPropertyDTO()
This is the default constructor.


ExternalAuthPropertyDTO

public ExternalAuthPropertyDTO(java.lang.String name,
                               java.lang.String value)
A constructor that accepts name and value properties.

Parameters:
name - A java.lang.String containing the name of the property.
value - A java.lang.String containing the value of the property.
Method Detail

getValue

public java.lang.String getValue()
Retrieves the property value.

Returns:
A java.lang.String containing the property value.

setValue

public void setValue(java.lang.String value)
Sets the property value.

Parameters:
value - A java.lang.String containing the value to which to set the property.

getName

public java.lang.String getName()
Retrieves the property name.

Returns:
A java.lang.String containing the property name.

setName

public void setName(java.lang.String name)
Sets the property name.

Parameters:
name - The name to which to set the property.