Class SSOResource


  • public class SSOResource
    extends CommonBase
    SSO Resource class contains the functionality to find, add and delete Resources from TAM using the TAM Connector for IBM Tivoli Directory Integrator.
    • Field Detail

      • SSORESOURCE_ATTR_NAME

        public static final java.lang.String SSORESOURCE_ATTR_NAME
        See Also:
        Constant Field Values
      • SSORESOURCE_ATTR_DESCRIPTION

        public static final java.lang.String SSORESOURCE_ATTR_DESCRIPTION
        See Also:
        Constant Field Values
    • Constructor Detail

      • SSOResource

        public SSOResource​(java.lang.String s,
                           com.tivoli.pd.jutil.PDContext context,
                           Log log)
                    throws com.tivoli.pd.jutil.PDException
        SSO Resource Contrustor
        Parameters:
        s - The TAM Resource name
        context - The TAM Context
        log - The IBM Tivoli Directory Integrator Connector Log
        Throws:
        com.tivoli.pd.jutil.PDException
      • SSOResource

        public SSOResource​(Entry entry,
                           com.tivoli.pd.jutil.PDContext context,
                           Log log)
        SSO Resource Constructor
        Parameters:
        entry - The Entry data from IBM Tivoli Directory Integrator
        context - The TAM Context
        log - The TAM Connector log
      • SSOResource

        public SSOResource​(SearchCriteria searchcriteria,
                           com.tivoli.pd.jutil.PDContext context,
                           Log log)
                    throws TAMConnectorException,
                           com.tivoli.pd.jutil.PDException
        The SSO Resource Constructor

        Constructs a resource from the search criteria

        Parameters:
        searchcriteria - The search criteria, usually the resource name
        context - The TAM Contact
        log - The TAM Connector log
        Throws:
        TAMConnectorException
        com.tivoli.pd.jutil.PDException
      • SSOResource

        public SSOResource​(com.tivoli.pd.jutil.PDContext context,
                           SearchCriteria searchcriteria,
                           Log log)
                    throws TAMConnectorException
        The SSO Resource Constructor

        Constructs a resource from the search criteria w/o accessing the underlying PDOBject. Initialisation is done from the searchcriteria only.

        Parameters:
        searchcriteria - The search criteria, usually the resource name
        context - The TAM Contact
        log - The TAM Connector log
        Throws:
        TAMConnectorException
    • Method Detail

      • getAttributes

        public Entry getAttributes()
        Return the attributes in the form of an Entry object
        Returns:
        Entry
      • schema

        public static java.util.Vector schema()
        Return the IBM Tivoli Directory Integrator Schema in the form of a Vector
        Returns:
        Vector
      • list

        public static java.util.List list​(com.tivoli.pd.jutil.PDContext pdContext)
                                   throws com.tivoli.pd.jutil.PDException
        Return a List (ArrayList) of SSO Resources
        Parameters:
        pdContext - The TAM Context
        Returns:
        List (ArrayList)
        Throws:
        com.tivoli.pd.jutil.PDException