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.SailPointContextgetContext()LocalegetLocale()sailpoint.object.IdentitygetLoggedInUser()List<sailpoint.object.Capability>getLoggedInUserCapabilities()List<String>getLoggedInUserDynamicScopeNames()StringgetLoggedInUserName()Collection<String>getLoggedInUserRights()TimeZonegetUserTimeZone()booleanisMobileLogin()Introduced in 8.1booleanisObjectInUserScope(String id, Class clazz)booleanisObjectInUserScope(sailpoint.object.SailPointObject object)booleanisScopingEnabled()
-
-
-
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:
getContextin interfacesailpoint.web.UserContext
-
getLoggedInUser
public sailpoint.object.Identity getLoggedInUser() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUserin interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserCapabilities
public List<sailpoint.object.Capability> getLoggedInUserCapabilities()
- Specified by:
getLoggedInUserCapabilitiesin interfacesailpoint.web.UserContext
-
getLoggedInUserDynamicScopeNames
public List<String> getLoggedInUserDynamicScopeNames() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUserDynamicScopeNamesin interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserName
public String getLoggedInUserName() throws sailpoint.tools.GeneralException
- Specified by:
getLoggedInUserNamein interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
getLoggedInUserRights
public Collection<String> getLoggedInUserRights()
- Specified by:
getLoggedInUserRightsin interfacesailpoint.web.UserContext
-
getUserTimeZone
public TimeZone getUserTimeZone()
- Specified by:
getUserTimeZonein interfacesailpoint.web.UserContext
-
isMobileLogin
public boolean isMobileLogin()
Introduced in 8.1- Specified by:
isMobileLoginin interfacesailpoint.web.UserContext- Returns:
- Always false
-
isObjectInUserScope
public boolean isObjectInUserScope(sailpoint.object.SailPointObject object) throws sailpoint.tools.GeneralException
- Specified by:
isObjectInUserScopein interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
isObjectInUserScope
public boolean isObjectInUserScope(String id, Class clazz) throws sailpoint.tools.GeneralException
- Specified by:
isObjectInUserScopein interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
isScopingEnabled
public boolean isScopingEnabled() throws sailpoint.tools.GeneralException
- Specified by:
isScopingEnabledin interfacesailpoint.web.UserContext- Throws:
sailpoint.tools.GeneralException
-
-