public class SystemSubjectUtil
extends java.lang.Object
| Constructor and Description |
|---|
SystemSubjectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SystemUserMO |
getSystemUser(PlatformContext platform,
javax.security.auth.Subject subject)
This method gets the Identity Governance system user who is mapped
to the authenticated subject.
|
public static SystemUserMO getSystemUser(PlatformContext platform, javax.security.auth.Subject subject) throws ApplicationException
platform - Is the PlatformContext object that holds platform connection
information.subject - Is the Subject object that represents the authenticated user.ApplicationException - This exception is thrown if the method is unable to obtain the mapped
system user account. This error might be caused by a communication error
or by a subject that is not mapped to the system user.