Skip navigation links

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

E27155-03


oracle.security.idm.IdentityContext
Class ClaimDictionary

java.lang.Object
  extended by oracle.security.idm.IdentityContext.ClaimDictionary


public class ClaimDictionary
extends java.lang.Object

This class implements the claims dictionary. The dictionary maintains the schema for each known claim and exposes operations for validating and processing claims.


Constructor Summary
ClaimDictionary()
          This constructor initializes the dictionary with known claims

 

Method Summary
 java.util.Iterator<java.lang.String> getAllNamespaces()
          Return an iterator to enumerate all namespaces
 int getClaimCount()
          Return number of items in the dictionary
 ClaimSchema getClaimSchema(java.lang.String uniqueName)
          Return schema for a given unique claim name.
 java.util.Iterator<ClaimSchema> getClaimsForAllNamespaces()
          Return an iterator to enumerate all claims in the dictionary
 java.util.Iterator<ClaimSchema> getClaimsForNamespace(java.lang.String namespace)
          Return an iterator to enumerate all claims for a given namespace
 int getNamespaceCount()
          Return number of unique namespaces
 boolean isValidClaimName(java.lang.String name)
          Validate a claim name is legitimate
 java.lang.String toString()
          For debugging purposes, dump all available schemas to a String

 

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

 

Constructor Detail

ClaimDictionary

public ClaimDictionary()
This constructor initializes the dictionary with known claims

Method Detail

getClaimCount

public int getClaimCount()
Return number of items in the dictionary
Returns:
number of items in the dictionary

getNamespaceCount

public int getNamespaceCount()
Return number of unique namespaces
Returns:
number of unique namespaces

isValidClaimName

public boolean isValidClaimName(java.lang.String name)
Validate a claim name is legitimate
Parameters:
name - Claim name
Returns:
true if the name represents a valid claim

getClaimSchema

public ClaimSchema getClaimSchema(java.lang.String uniqueName)
                           throws UnknownClaimException
Return schema for a given unique claim name. if the schema doesn't exist return
Parameters:
uniqueName - Unique name of a claim
Returns:
claim schema for a given claim
Throws:
UnknownClaimException

getClaimsForAllNamespaces

public java.util.Iterator<ClaimSchema> getClaimsForAllNamespaces()
Return an iterator to enumerate all claims in the dictionary
Returns:
iterator to enumerate all claims in the dictionary

getClaimsForNamespace

public java.util.Iterator<ClaimSchema> getClaimsForNamespace(java.lang.String namespace)
Return an iterator to enumerate all claims for a given namespace
Parameters:
namespace - Namespace to return claims for
Returns:
iterator to enumerate all claims for a given namespace

getAllNamespaces

public java.util.Iterator<java.lang.String> getAllNamespaces()
Return an iterator to enumerate all namespaces
Returns:
iterator to enumerate all namespaces

toString

public java.lang.String toString()
For debugging purposes, dump all available schemas to a String
Overrides:
toString in class java.lang.Object
Returns:
String containing all claims in the dictionary

Skip navigation links

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

E27155-03


Copyright © 2011, 2013 Oracle. All rights reserved.