Class PipeHelper
- java.lang.Object
-
- com.sun.jaspic.services.JaspicServices
-
- com.sun.enterprise.security.jaspic.config.PayaraJaspicServices
-
- com.sun.enterprise.security.jauth.jaspic.provider.config.PipeHelper
-
public class PipeHelper extends PayaraJaspicServices
-
-
Field Summary
Fields Modifier and Type Field Description protected static LocalStringManagerImpl
localStrings
-
Fields inherited from class com.sun.jaspic.services.JaspicServices
appCtxt, callbackHandler, factory, layer, listenerWrapper, map
-
-
Constructor Summary
Constructors Constructor Description PipeHelper(String layer, Map<String,Object> properties, CallbackHandler callbackHandler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addModelAndPolicy(com.sun.xml.ws.api.message.Packet request)
Deprecated.void
auditInvocation(com.sun.xml.ws.api.message.Packet request, jakarta.security.auth.message.AuthStatus status)
void
authorize(com.sun.xml.ws.api.message.Packet request)
void
disable()
jakarta.security.auth.message.config.ClientAuthContext
getClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject)
static Subject
getClientSubject()
com.sun.xml.ws.api.message.Packet
getFaultResponse(com.sun.xml.ws.api.message.Packet request, com.sun.xml.ws.api.message.Packet response, Throwable t)
protected HandlerContext
getHandlerContext(Map map)
This method is invoked by the constructor and should be overridden by a subclass.Object
getModelName()
jakarta.security.auth.message.config.ServerAuthContext
getServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject)
void
getSessionToken(Map<String,Object> map, jakarta.security.auth.message.MessageInfo info, Subject subject)
boolean
isTwoWay(boolean twoWayIsDefault, com.sun.xml.ws.api.message.Packet request)
com.sun.xml.ws.api.message.Packet
makeFaultResponse(com.sun.xml.ws.api.message.Packet response, Throwable t)
-
Methods inherited from class com.sun.enterprise.security.jaspic.config.PayaraJaspicServices
getCallbackHandler
-
Methods inherited from class com.sun.jaspic.services.JaspicServices
getAppContextID, getAuthConfig, getAuthConfig, getClientAuthConfig, getProperty, getRegistrationListener, getRegistrationWrapper, getServerAuthConfig, hasExactMatchAuthProvider, init, setRegistrationId, setRegistrationWrapper
-
-
-
-
Field Detail
-
localStrings
protected static final LocalStringManagerImpl localStrings
-
-
Constructor Detail
-
PipeHelper
public PipeHelper(String layer, Map<String,Object> properties, CallbackHandler callbackHandler)
-
-
Method Detail
-
getClientAuthContext
public jakarta.security.auth.message.config.ClientAuthContext getClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject) throws jakarta.security.auth.message.AuthException
- Overrides:
getClientAuthContext
in classJaspicServices
- Throws:
jakarta.security.auth.message.AuthException
-
getServerAuthContext
public jakarta.security.auth.message.config.ServerAuthContext getServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject) throws jakarta.security.auth.message.AuthException
- Overrides:
getServerAuthContext
in classJaspicServices
- Throws:
jakarta.security.auth.message.AuthException
-
getClientSubject
public static Subject getClientSubject()
-
getSessionToken
public void getSessionToken(Map<String,Object> map, jakarta.security.auth.message.MessageInfo info, Subject subject) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
authorize
public void authorize(com.sun.xml.ws.api.message.Packet request) throws Exception
- Throws:
Exception
-
auditInvocation
public void auditInvocation(com.sun.xml.ws.api.message.Packet request, jakarta.security.auth.message.AuthStatus status)
-
getModelName
public Object getModelName()
-
addModelAndPolicy
@Deprecated public void addModelAndPolicy(com.sun.xml.ws.api.message.Packet request)
Deprecated.
-
makeFaultResponse
public com.sun.xml.ws.api.message.Packet makeFaultResponse(com.sun.xml.ws.api.message.Packet response, Throwable t)
-
isTwoWay
public boolean isTwoWay(boolean twoWayIsDefault, com.sun.xml.ws.api.message.Packet request)
-
getFaultResponse
public com.sun.xml.ws.api.message.Packet getFaultResponse(com.sun.xml.ws.api.message.Packet request, com.sun.xml.ws.api.message.Packet response, Throwable t)
-
disable
public void disable()
- Overrides:
disable
in classJaspicServices
-
getHandlerContext
protected HandlerContext getHandlerContext(Map map)
Description copied from class:PayaraJaspicServices
This method is invoked by the constructor and should be overridden by a subclass.- Overrides:
getHandlerContext
in classPayaraJaspicServices
-
-