Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


oracle.igf.ids.config
Class IdentityStoreConfig

java.lang.Object
  extended by oracle.igf.ids.config.IdentityStoreConfig


public class IdentityStoreConfig
extends java.lang.Object

Class for defining the physical Identity store configuration with host/port (or connection url), credentials to connect to the identity store, type of identity store, connection pool parameters and other configuration parameters.


Nested Class Summary
static class IdentityStoreConfig.HAOption
          High availability option
static class IdentityStoreConfig.IdentityStoreType
          Type of Identity Store

 

Field Summary
static java.lang.String BASE
           
static java.lang.String CONN_TIMEOUT
           
static java.lang.String DN_ATTRS
           
static java.lang.String FOLLOW_REFERRAL
           
static java.lang.String HEARTBEAT_INTERVAL
           
static java.lang.String MAX_POOLCHECKS
           
static java.lang.String MAX_POOLSIZE
           
static java.lang.String MAX_POOLWAIT
           
static java.lang.String MIN_POOLSIZE
           

 

Constructor Summary
IdentityStoreConfig(java.lang.String connUrls, java.lang.String user, char[] password, IdentityStoreConfig.IdentityStoreType idStoreType)
          Constructs identityStoreConfig

 

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAttrMapping()
          Gets all attribute mappings
 java.lang.String getAttrMapping(java.lang.String attr)
          Gets the mapped attribute value
 java.lang.String getConnUrls()
          Gets connection URLs
 IdentityStoreConfig.HAOption getHighAvailabilityOption()
           
 IdentityStoreConfig.IdentityStoreType getIdentityStoreType()
          Gets type of Identity Store
 char[] getPassword()
          Gets user credential
 java.util.Map<java.lang.String,java.lang.String> getProperties()
          Gets all the properties
 java.lang.String getProperty(java.lang.String prop)
          Gets property value
 java.lang.String getUser()
          Gets user
 void setAttrMapping(java.lang.String logicalAttr, java.lang.String physicalAttr)
          Sets property mapping
 void setHighAvailabilityOption(IdentityStoreConfig.HAOption highAvailOption)
          Sets high availability option
 void setProperty(java.lang.String propName, java.lang.String propVal)
          Sets the Identity Store property like BASE, MIN_POOLSIZE, MAX_POOLSIZE, etc.

 

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

 

Field Detail

BASE

public static final java.lang.String BASE
See Also:
Constant Field Values

HEARTBEAT_INTERVAL

public static final java.lang.String HEARTBEAT_INTERVAL
See Also:
Constant Field Values

CONN_TIMEOUT

public static final java.lang.String CONN_TIMEOUT
See Also:
Constant Field Values

MIN_POOLSIZE

public static final java.lang.String MIN_POOLSIZE
See Also:
Constant Field Values

MAX_POOLSIZE

public static final java.lang.String MAX_POOLSIZE
See Also:
Constant Field Values

MAX_POOLWAIT

public static final java.lang.String MAX_POOLWAIT
See Also:
Constant Field Values

MAX_POOLCHECKS

public static final java.lang.String MAX_POOLCHECKS
See Also:
Constant Field Values

FOLLOW_REFERRAL

public static final java.lang.String FOLLOW_REFERRAL
See Also:
Constant Field Values

DN_ATTRS

public static final java.lang.String DN_ATTRS
See Also:
Constant Field Values

Constructor Detail

IdentityStoreConfig

public IdentityStoreConfig(java.lang.String connUrls,
                           java.lang.String user,
                           char[] password,
                           IdentityStoreConfig.IdentityStoreType idStoreType)
Constructs identityStoreConfig
Parameters:
connUrls - List of connection URLs separated by ","
user - Distinuguished name of the user to be used to connect to Identity Store.
password - user's crednetials
idStoreType - Identity Store type

Method Detail

getConnUrls

public java.lang.String getConnUrls()
Gets connection URLs
Returns:
connection URLs

getUser

public java.lang.String getUser()
Gets user
Returns:
distinguished name of user

getPassword

public char[] getPassword()
Gets user credential
Returns:
user credential

getIdentityStoreType

public IdentityStoreConfig.IdentityStoreType getIdentityStoreType()
Gets type of Identity Store
Returns:
Identity Store type

setHighAvailabilityOption

public void setHighAvailabilityOption(IdentityStoreConfig.HAOption highAvailOption)
Sets high availability option
Parameters:
highAvailOption - High availability option - loadbalance or failover

getHighAvailabilityOption

public IdentityStoreConfig.HAOption getHighAvailabilityOption()
Returns:

setProperty

public void setProperty(java.lang.String propName,
                        java.lang.String propVal)
Sets the Identity Store property like BASE, MIN_POOLSIZE, MAX_POOLSIZE, etc.
Parameters:
propName - Name of the property
propVal - Property value

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Gets all the properties
Returns:
properties map

getProperty

public java.lang.String getProperty(java.lang.String prop)
Gets property value
Parameters:
prop - Name of the property
Returns:
property value

setAttrMapping

public void setAttrMapping(java.lang.String logicalAttr,
                           java.lang.String physicalAttr)
Sets property mapping
Parameters:
logicalAttr - Name of the attribute in Entity configuration
physicalAttr - Name of the attribute in Identity Store

getAttrMapping

public java.util.Map<java.lang.String,java.lang.String> getAttrMapping()
Gets all attribute mappings
Returns:
attribute map

getAttrMapping

public java.lang.String getAttrMapping(java.lang.String attr)
Gets the mapped attribute value
Parameters:
attr - Name of the attribute in Entity configuration
Returns:
name of the attribute in Identity Store

Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


Copyright © 2012 Oracle. All Rights Reserved.