org.wso2.solutions.identity
Class UsermanagerPasswordCallbackHandler

java.lang.Object
  extended by org.wso2.solutions.identity.UsermanagerPasswordCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

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

This is the javax.security.auth.callback.CallbackHandler implementation for Apache Rampart's user authentication. This uses the WSO2 Commons Usermanager to carry out authentication using the information passed in. IMPORTANT : This can only be used in the cases where plain text passwords are used with a UsernameToken.


Constructor Summary
UsermanagerPasswordCallbackHandler()
           
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsermanagerPasswordCallbackHandler

public UsermanagerPasswordCallbackHandler()
Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException