com.ibm.itim.remoteservices.provider
Class ServiceCallbackHandler

java.lang.Object
  |
  +--com.ibm.itim.remoteservices.provider.ServiceCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public final class ServiceCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

Used in event notification and asynchronous request processing. An instance of this class should be passed to the LoginContext when authenticating.


Field Summary
static java.lang.String SERVICE_LOGIN_CONTEXT
          Name of login context to login with.
 
Constructor Summary
ServiceCallbackHandler(java.lang.String tenantID, java.lang.String name, char[] password, java.lang.String serviceFilter)
          Creates a ServiceCallbackHandler object.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Implements required method in CallbackHandler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_LOGIN_CONTEXT

public static final java.lang.String SERVICE_LOGIN_CONTEXT
Name of login context to login with.

See Also:
Constant Field Values
Constructor Detail

ServiceCallbackHandler

public ServiceCallbackHandler(java.lang.String tenantID,
                              java.lang.String name,
                              char[] password,
                              java.lang.String serviceFilter)
Creates a ServiceCallbackHandler object.

Parameters:
tenantID - The identifier of the tenant
name - the name of the principal used to authenticate with
password - the password of the user
serviceFilter - ldap filter to locate the service via findService
Method Detail

handle

public final void handle(javax.security.auth.callback.Callback[] callbacks)
                  throws javax.security.auth.callback.UnsupportedCallbackException
Implements required method in CallbackHandler. At presently the only supported callback is ServiceCallback.

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Parameters:
callbacks - an array of ServiceCallback objects
javax.security.auth.callback.UnsupportedCallbackException
See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.