|
PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler<C>
public abstract class AbstractPicketLinkTrustHandler<C extends LogicalMessageContext>
Abstract base class for the PicketLink Trust Handlers
This class implements directly the SOAPHandler
interface because the GenericSOAPHandler
package name changes between JBossWS versions.
Field Summary | |
---|---|
protected static String |
AUTHZ_MGR_LOOKUP
|
protected static Set<QName> |
headers
|
protected static PicketLinkLogger |
logger
|
protected static String |
SEC_MGR_LOOKUP
|
Constructor Summary | |
---|---|
AbstractPicketLinkTrustHandler()
|
Method Summary | |
---|---|
void |
close(MessageContext context)
|
protected Element |
getAssertionFromSubject()
Get the SAML Assertion from the subject |
Set<QName> |
getHeaders()
|
protected String |
getSecurityDomainName(MessageContext msgContext)
Returns the security domain name configured for the deployment. |
protected Element |
getSecurityHeaderElement(Document document)
Given a Document , create the WSSE element |
protected javax.servlet.ServletContext |
getServletContext(MessageContext msgContext)
Utility method to get the ServletContext from the specified MessageContext . |
protected String |
getUsername(Element nameID)
Given the NameID Element , return the user name |
boolean |
handleFault(MessageContext context)
|
protected boolean |
handleInbound(MessageContext msgContext)
|
boolean |
handleMessage(MessageContext msgContext)
Handles the incoming message and decides which method should be called: handleOutbound or handleInbound |
protected boolean |
handleOutbound(MessageContext msgContext)
|
protected Object |
lookupJNDI(String str)
|
protected void |
trace(MessageContext msgContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final PicketLinkLogger logger
protected static Set<QName> headers
protected static final String SEC_MGR_LOOKUP
protected static final String AUTHZ_MGR_LOOKUP
Constructor Detail |
---|
public AbstractPicketLinkTrustHandler()
Method Detail |
---|
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler
protected javax.servlet.ServletContext getServletContext(MessageContext msgContext)
Utility method to get the ServletContext
from the specified MessageContext
.
msgContext
-
protected String getSecurityDomainName(MessageContext msgContext) throws ConfigurationException
Returns the security domain name configured for the deployment.
msgContext
-
ConfigurationException
- if no security domain is configured.protected Element getSecurityHeaderElement(Document document)
Document
, create the WSSE element
document
-
protected void trace(MessageContext msgContext)
protected String getUsername(Element nameID)
Element
, return the user name
nameID
-
protected Element getAssertionFromSubject()
protected Object lookupJNDI(String str)
public boolean handleMessage(MessageContext msgContext)
Handles the incoming message and decides which method should be called: handleOutbound
or handleInbound
handleMessage
in interface Handler
msgContext
-
protected boolean handleOutbound(MessageContext msgContext)
protected boolean handleInbound(MessageContext msgContext)
public boolean handleFault(MessageContext context)
handleFault
in interface Handler
public void close(MessageContext context)
close
in interface Handler
|
PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |