com.ibm.itim.policy.script

Interface IdentityPolicyScriptInterface

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method and Description
      java.lang.Object getService()
      Get the ObjectInterface that will be placed into the scripting environment with the name defined in SCRIPT_CONTEXT_ITEM_SERVICE.
      java.lang.Object getSubject()
      Get the PersonInterface that will be placed into the scripting environment with the name defined in SCRIPT_CONTEXT_ITEM_PERSON.
      java.lang.String getUserClassName()
      Deprecated. 
      This method is only provided for backwards compatability and should not be relied upon.
    • Field Detail

      • SCRIPT_CONTEXT_ITEM_USER_CLASS_NAME

        static final java.lang.String SCRIPT_CONTEXT_ITEM_USER_CLASS_NAME
        Deprecated. 
        Name that the user class name can be accessed under in the scripting environment.
        See Also:
        Constant Field Values
      • SCRIPT_CONTEXT_ITEM_SERVICE

        static final java.lang.String SCRIPT_CONTEXT_ITEM_SERVICE
        Deprecated. Use ServiceExtension instead. Both reference the same object.
        Name that the service can be accessed as in the scripting environment.
        See Also:
        Constant Field Values
      • SCRIPT_CONTEXT_ITEM_PERSON

        static final java.lang.String SCRIPT_CONTEXT_ITEM_PERSON
        Deprecated. Use SubjectExtension instead. Both reference the same object.
        Name that the person can be accesseed as in the scripting environment.
        See Also:
        Constant Field Values
    • Method Detail

      • getSubject

        java.lang.Object getSubject()
        Get the PersonInterface that will be placed into the scripting environment with the name defined in SCRIPT_CONTEXT_ITEM_PERSON.
        Returns:
        The PersonInterface object.
      • getService

        java.lang.Object getService()
        Get the ObjectInterface that will be placed into the scripting environment with the name defined in SCRIPT_CONTEXT_ITEM_SERVICE.
        Returns:
        The ObjectInterface object.
      • getUserClassName

        java.lang.String getUserClassName()
        Deprecated. This method is only provided for backwards compatability and should not be relied upon.
        Get the user class name to be placed into the scripting environment with the name defined in SCRIPT_CONTEXT_ITEM_USER_CLASS_NAME.
        Returns:
        A String representing the user class name. TODO maybe this should return an ObjectInterface so we have a consistant experience in the extensions.