gov.nih.nci.cagrid.dorian.conf
Class CredentialPolicy

java.lang.Object
  extended by gov.nih.nci.cagrid.dorian.conf.CredentialPolicy
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
CredentialPolicy()
           
CredentialPolicy(CredentialLifetime credentialLifetime, boolean hostCertificateAutoApproval)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 CredentialLifetime getCredentialLifetime()
          Gets the credentialLifetime value for this CredentialPolicy.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isHostCertificateAutoApproval()
          Gets the hostCertificateAutoApproval value for this CredentialPolicy.
 void setCredentialLifetime(CredentialLifetime credentialLifetime)
          Sets the credentialLifetime value for this CredentialPolicy.
 void setHostCertificateAutoApproval(boolean hostCertificateAutoApproval)
          Sets the hostCertificateAutoApproval value for this CredentialPolicy.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialPolicy

public CredentialPolicy()

CredentialPolicy

public CredentialPolicy(CredentialLifetime credentialLifetime,
                        boolean hostCertificateAutoApproval)
Method Detail

getCredentialLifetime

public CredentialLifetime getCredentialLifetime()
Gets the credentialLifetime value for this CredentialPolicy.

Returns:
credentialLifetime

setCredentialLifetime

public void setCredentialLifetime(CredentialLifetime credentialLifetime)
Sets the credentialLifetime value for this CredentialPolicy.

Parameters:
credentialLifetime -

isHostCertificateAutoApproval

public boolean isHostCertificateAutoApproval()
Gets the hostCertificateAutoApproval value for this CredentialPolicy.

Returns:
hostCertificateAutoApproval

setHostCertificateAutoApproval

public void setHostCertificateAutoApproval(boolean hostCertificateAutoApproval)
Sets the hostCertificateAutoApproval value for this CredentialPolicy.

Parameters:
hostCertificateAutoApproval -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer