Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


oracle.security.jps.service.policystore.info
Class OpssX500Name

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.DataType
      extended by oracle.security.jps.service.policystore.info.OpssX500Name

All Implemented Interfaces:
ExpressionComponent

public class OpssX500Name
extends DataType

This class represents a X.500 name object (an X.520 dn).


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType
DataType.TYPE

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent
ExpressionComponent.Type

 

Constructor Summary
OpssX500Name(java.lang.String val)
          Constructor.

 

Method Summary
 boolean equals(java.lang.Object that)
          Override java method for accurate list and hashtable lookups.
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 DataType.TYPE getType()
          For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
 javax.security.auth.x500.X500Principal getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
          Returns String representation of this principal.
static OpssX500Name valueOf(java.lang.String str)
          Generates a OpssX500Name object given a string.

 

Methods inherited from class oracle.security.jps.service.policystore.info.DataType
getDataTypeObjectFromString, getDataTypeObjectFromString, getTypeClassFromClassName, getTypeFromClass

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OpssX500Name

public OpssX500Name(java.lang.String val)
             throws java.lang.IllegalArgumentException
Constructor.
Parameters:
val - String value of X500 nam
Throws:
java.lang.IllegalArgumentException - if val is null or does not meet X500 syntax.

Method Detail

getValue

public javax.security.auth.x500.X500Principal getValue()
Description copied from class: DataType
Returns an object representing real value of this data type. For example, OpssInteger.getValue will return an Integer object.
Specified by:
getValue in class DataType
Returns:
X500Principal value for this object

getType

public final DataType.TYPE getType()
Description copied from class: DataType
For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
Specified by:
getType in class DataType
Returns:
Data type of this object, always TYPE.X500_NAME

toString

public java.lang.String toString()
Returns String representation of this principal.
Specified by:
toString in class DataType

valueOf

public static OpssX500Name valueOf(java.lang.String str)
                            throws java.lang.IllegalArgumentException
Generates a OpssX500Name object given a string. The string is expected to be in ldap DN format specified by RFC2253.
Throws:
java.lang.IllegalArgumentException - if string is not a valid dn.

equals

public final boolean equals(java.lang.Object that)
Description copied from class: DataType
Override java method for accurate list and hashtable lookups.
Specified by:
equals in class DataType

hashCode

public final int hashCode()
Specified by:
hashCode in class DataType

getComponentType

public ExpressionComponent.Type getComponentType()
Description copied from interface: ExpressionComponent
Returns type of the component.
Returns:

isValid

public boolean isValid()

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.