Class ConnectorCallbackHandler
- java.lang.Object
-
- com.sun.enterprise.connectors.work.context.ConnectorCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class ConnectorCallbackHandler extends Object implements CallbackHandler
Connector callback handler to intercept the callbacks provided by the work instance in order to map the security credentials between container and EIS domain- Since:
- GlassFish v3
- Author:
- Jagadish Ramu
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
supportedCallbacks
-
Constructor Summary
Constructors Constructor Description ConnectorCallbackHandler(Subject executionSubject, CallbackHandler handler, Map securityMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(Callback[] callbacks)
Callback
handleCallerPrincipalCallbackWithMapping(jakarta.security.auth.message.callback.CallerPrincipalCallback cpc)
-
-
-
Constructor Detail
-
ConnectorCallbackHandler
public ConnectorCallbackHandler(Subject executionSubject, CallbackHandler handler, Map securityMap)
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
handleCallerPrincipalCallbackWithMapping
public Callback handleCallerPrincipalCallbackWithMapping(jakarta.security.auth.message.callback.CallerPrincipalCallback cpc)
-
-