Class DummyAuthContext
- java.lang.Object
-
- com.identityworksllc.iiq.common.auth.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 Summary
Constructors Constructor Description DummyAuthContext(sailpoint.api.SailPointContext context, String identityName)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sailpoint.api.SailPointContext
getContext()
Locale
getLocale()
sailpoint.object.Identity
getLoggedInUser()
List<sailpoint.object.Capability>
getLoggedInUserCapabilities()
List<String>
getLoggedInUserDynamicScopeNames()
String
getLoggedInUserName()
Collection<String>
getLoggedInUserRights()
TimeZone
getUserTimeZone()
boolean
isMobileLogin()
Introduced in 8.1boolean
isObjectInUserScope(String id, Class clazz)
boolean
isObjectInUserScope(sailpoint.object.SailPointObject object)
boolean
isScopingEnabled()
-
-
-
Constructor Detail
-
DummyAuthContext
public DummyAuthContext(sailpoint.api.SailPointContext context, String identityName)
Constructor- Parameters:
context
- The current IIQ contextidentityName
- The identity name
-
-
Method Detail
-
getContext
public sailpoint.api.SailPointContext getContext()
- Specified by:
getContext
in interfacesailpoint.web.UserContext
-
getLoggedInUser
public sailpoint.object.Identity getLoggedInUser() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUser
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserCapabilities
public List<sailpoint.object.Capability> getLoggedInUserCapabilities()
- Specified by:
getLoggedInUserCapabilities
in interfacesailpoint.web.UserContext
-
getLoggedInUserDynamicScopeNames
public List<String> getLoggedInUserDynamicScopeNames() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUserDynamicScopeNames
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserName
public String getLoggedInUserName() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUserName
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserRights
public Collection<String> getLoggedInUserRights()
- Specified by:
getLoggedInUserRights
in interfacesailpoint.web.UserContext
-
getUserTimeZone
public TimeZone getUserTimeZone()
- Specified by:
getUserTimeZone
in interfacesailpoint.web.UserContext
-
isMobileLogin
public boolean isMobileLogin()
Introduced in 8.1- Specified by:
isMobileLogin
in interfacesailpoint.web.UserContext
- Returns:
- Always false
-
isObjectInUserScope
public boolean isObjectInUserScope(sailpoint.object.SailPointObject object) throws sailpoint.tools.GeneralException
- Specified by:
isObjectInUserScope
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
isObjectInUserScope
public boolean isObjectInUserScope(String id, Class clazz) throws sailpoint.tools.GeneralException
- Specified by:
isObjectInUserScope
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
isScopingEnabled
public boolean isScopingEnabled() throws sailpoint.tools.GeneralException
- Specified by:
isScopingEnabled
in interfacesailpoint.web.UserContext
- Throws:
sailpoint.tools.GeneralException
-
-