Package alluxio.security.login
Class AppLoginModule.AppCallbackHandler
- java.lang.Object
-
- alluxio.security.login.AppLoginModule.AppCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
- Enclosing class:
- AppLoginModule
@NotThreadSafe public static final class AppLoginModule.AppCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler
A callback handler forAppLoginModule
.
-
-
Constructor Summary
Constructors Constructor Description AppCallbackHandler(java.lang.String username)
Creates a new instance ofAppLoginModule.AppCallbackHandler
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.security.auth.callback.Callback[] callbacks)
-
-
-
Constructor Detail
-
AppCallbackHandler
public AppCallbackHandler(java.lang.String username)
Creates a new instance ofAppLoginModule.AppCallbackHandler
.- Parameters:
username
- the username
-
-
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 interfacejavax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
-
-