org.kuali.rice.ksb.messaging.servicehandlers
Class BasicAuthenticationHandler
java.lang.Object
   org.kuali.rice.ksb.messaging.servicehandlers.BasicAuthenticationHandler
org.kuali.rice.ksb.messaging.servicehandlers.BasicAuthenticationHandler
- All Implemented Interfaces: 
- CallbackHandler
- public class BasicAuthenticationHandler 
- extends Object- implements CallbackHandler
CallbackHandler that verifies the password and username is correct for a service
 secured with basic authentication.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
| Constructor Summary | 
| BasicAuthenticationHandler(String serviceNameSpaceURI,
                                                     QName serviceName)Initialize the BasicAuthenticationHandler with the serviceNameSpaceURI and localServiceName
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BasicAuthenticationHandler
public BasicAuthenticationHandler(String serviceNameSpaceURI,
                                  QName serviceName)
- Initialize the BasicAuthenticationHandler with the serviceNameSpaceURI and localServiceName
 
- Parameters:
- serviceNameSpaceURI- the serviceNameSpaceURI to use
- serviceName- the serviceName to use
 
handle
public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
- 
- Specified by:
- handlein interface- CallbackHandler
 
- 
- Parameters:
- callbacks- an array of Callback objects
- Throws:
- RiceRuntimeException- if the username or password is invalid
- IOException
- UnsupportedCallbackException
- See Also:
- CallbackHandler.handle(javax.security.auth.callback.Callback[])
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.