Package org.eclipse.jetty.security.jaspi
Class ServletCallbackHandler
- java.lang.Object
-
- org.eclipse.jetty.security.jaspi.ServletCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public class ServletCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler
Idiot class required by jaspi stupidity
-
-
Constructor Summary
Constructors Constructor Description ServletCallbackHandler(LoginService loginService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.security.auth.message.callback.CallerPrincipalCallback
getThreadCallerPrincipalCallback()
javax.security.auth.message.callback.GroupPrincipalCallback
getThreadGroupPrincipalCallback()
void
handle(javax.security.auth.callback.Callback[] callbacks)
-
-
-
Constructor Detail
-
ServletCallbackHandler
public ServletCallbackHandler(LoginService loginService)
-
-
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
-
getThreadCallerPrincipalCallback
public javax.security.auth.message.callback.CallerPrincipalCallback getThreadCallerPrincipalCallback()
-
getThreadGroupPrincipalCallback
public javax.security.auth.message.callback.GroupPrincipalCallback getThreadGroupPrincipalCallback()
-
-