org.camunda.bpm.security.jaas
Class PassiveCallbackHandler
java.lang.Object
org.camunda.bpm.security.jaas.PassiveCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class PassiveCallbackHandler
- extends Object
- implements CallbackHandler
Provides user name and password without user interaction.
- Author:
- nico.rehwaldt
- See Also:
http://roneiv.wordpress.com/2008/02/19/perform-a-jaas-programmatic-login-in-jboss-try-to-solve-the-empty-remote-user-problem/
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassiveCallbackHandler
public PassiveCallbackHandler(String userName,
String password)
- Create the callback handler with user name and password
- Parameters:
userName - password -
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Handle callbacks
- Specified by:
handle in interface CallbackHandler
- Parameters:
callbacks -
- Throws:
IOException
UnsupportedCallbackException
Copyright © 2014 camunda services GmbH. All rights reserved.