com.ibm.itim.apps.system
Class SystemSubjectUtil

java.lang.Object
  extended by com.ibm.itim.apps.system.SystemSubjectUtil

public class SystemSubjectUtil
extends java.lang.Object

This class provides the utility methods to get the information about the mapped Security Identity Manager user from an authenticated WebSphere subject.

Since:
ITIM 6.0

Constructor Summary
SystemSubjectUtil()
           
 
Method Summary
static SystemUserMO getSystemUser(PlatformContext platform, javax.security.auth.Subject subject)
          This method gets the Security Identity Manager system user who is mapped to the authenticated subject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSubjectUtil

public SystemSubjectUtil()
Method Detail

getSystemUser

public static SystemUserMO getSystemUser(PlatformContext platform,
                                         javax.security.auth.Subject subject)
                                  throws ApplicationException
This method gets the Security Identity Manager system user who is mapped to the authenticated subject.

Parameters:
platform - Is the PlatformContext object that holds platform connection information.
subject - Is the Subject object that represents the authenticated user.
Returns:
This method returns the SystemUserMO that represents the authenticated Identity Manager system user account.
Throws:
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.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.