Class DummyAuthContext

  • All Implemented Interfaces:
    sailpoint.web.UserContext

    public class DummyAuthContext
    extends Object
    implements sailpoint.web.UserContext
    Dummy authorization context for use with the authorization methods
    • Constructor Detail

      • DummyAuthContext

        public DummyAuthContext​(sailpoint.api.SailPointContext context,
                                String identityName)
        Constructor
        Parameters:
        context - The current IIQ context
        identityName - The identity name
    • Method Detail

      • getContext

        public sailpoint.api.SailPointContext getContext()
        Specified by:
        getContext in interface sailpoint.web.UserContext
      • getLocale

        public Locale getLocale()
        Specified by:
        getLocale in interface sailpoint.web.UserContext
      • getLoggedInUser

        public sailpoint.object.Identity getLoggedInUser()
                                                  throws sailpoint.tools.GeneralException
        Specified by:
        getLoggedInUser in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException
      • getLoggedInUserCapabilities

        public List<sailpoint.object.Capability> getLoggedInUserCapabilities()
        Specified by:
        getLoggedInUserCapabilities in interface sailpoint.web.UserContext
      • getLoggedInUserDynamicScopeNames

        public List<StringgetLoggedInUserDynamicScopeNames()
                                                      throws sailpoint.tools.GeneralException
        Specified by:
        getLoggedInUserDynamicScopeNames in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException
      • getLoggedInUserName

        public String getLoggedInUserName()
                                   throws sailpoint.tools.GeneralException
        Specified by:
        getLoggedInUserName in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException
      • getUserTimeZone

        public TimeZone getUserTimeZone()
        Specified by:
        getUserTimeZone in interface sailpoint.web.UserContext
      • isMobileLogin

        public boolean isMobileLogin()
        Introduced in 8.1
        Specified by:
        isMobileLogin in interface sailpoint.web.UserContext
        Returns:
        Always false
      • isObjectInUserScope

        public boolean isObjectInUserScope​(sailpoint.object.SailPointObject object)
                                    throws sailpoint.tools.GeneralException
        Specified by:
        isObjectInUserScope in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException
      • isObjectInUserScope

        public boolean isObjectInUserScope​(String id,
                                           Class clazz)
                                    throws sailpoint.tools.GeneralException
        Specified by:
        isObjectInUserScope in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException
      • isScopingEnabled

        public boolean isScopingEnabled()
                                 throws sailpoint.tools.GeneralException
        Specified by:
        isScopingEnabled in interface sailpoint.web.UserContext
        Throws:
        sailpoint.tools.GeneralException