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 LocalStringManagerImpllocalStrings-
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 voidaddModelAndPolicy(com.sun.xml.ws.api.message.Packet request)Deprecated.voidauditInvocation(com.sun.xml.ws.api.message.Packet request, jakarta.security.auth.message.AuthStatus status)voidauthorize(com.sun.xml.ws.api.message.Packet request)voiddisable()jakarta.security.auth.message.config.ClientAuthContextgetClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject)static SubjectgetClientSubject()com.sun.xml.ws.api.message.PacketgetFaultResponse(com.sun.xml.ws.api.message.Packet request, com.sun.xml.ws.api.message.Packet response, Throwable t)protected HandlerContextgetHandlerContext(Map map)This method is invoked by the constructor and should be overridden by a subclass.ObjectgetModelName()jakarta.security.auth.message.config.ServerAuthContextgetServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject subject)voidgetSessionToken(Map<String,Object> map, jakarta.security.auth.message.MessageInfo info, Subject subject)booleanisTwoWay(boolean twoWayIsDefault, com.sun.xml.ws.api.message.Packet request)com.sun.xml.ws.api.message.PacketmakeFaultResponse(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:
getClientAuthContextin 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:
getServerAuthContextin 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:
disablein classJaspicServices
-
getHandlerContext
protected HandlerContext getHandlerContext(Map map)
Description copied from class:PayaraJaspicServicesThis method is invoked by the constructor and should be overridden by a subclass.- Overrides:
getHandlerContextin classPayaraJaspicServices
-
-