|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sandesha2.security.SecurityManager
public abstract class SecurityManager
SecurityManager interface. This manages the link between the RM layer and Security, so that the CreateSequence message can be secured using a SecurityTokenReference. Once the sequence is secured using the STR, each inbound messgae must be checked to ensure the sender has demonstrated proof-of-possession of the referenced token. See the WS-RM 1.0 spec for details.
Constructor Summary | |
---|---|
SecurityManager(org.apache.axis2.context.ConfigurationContext context)
|
Method Summary | |
---|---|
abstract void |
applySecurityToken(SecurityToken token,
org.apache.axis2.context.MessageContext outboundMessage)
Ensure that the given token will be associated with an outbound message. |
abstract void |
checkProofOfPossession(SecurityToken token,
org.apache.axiom.om.OMElement messagePart,
org.apache.axis2.context.MessageContext message)
Check that the given element of the message demonstrated proof of possession of the given token. |
abstract org.apache.axiom.om.OMElement |
createSecurityTokenReference(SecurityToken token,
org.apache.axis2.context.MessageContext message)
Create a SecurityTokenReference, suitable for inclusion in the given message. |
abstract SecurityToken |
getSecurityToken(org.apache.axis2.context.MessageContext message)
Get a security token to secure an outbound create sequence message. |
abstract SecurityToken |
getSecurityToken(org.apache.axiom.om.OMElement theSTR,
org.apache.axis2.context.MessageContext message)
Get a security token, from a SecurityTokenReference within an inbound message. |
abstract java.lang.String |
getTokenRecoveryData(SecurityToken token)
Write the data from this token in to a String. |
abstract void |
initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
Initialize the security manager. |
abstract SecurityToken |
recoverSecurityToken(java.lang.String tokenData)
Reconstruct a token from a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityManager(org.apache.axis2.context.ConfigurationContext context)
Method Detail |
---|
public abstract void initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
public abstract SecurityToken getSecurityToken(org.apache.axis2.context.MessageContext message) throws SandeshaException
SandeshaException
public abstract SecurityToken getSecurityToken(org.apache.axiom.om.OMElement theSTR, org.apache.axis2.context.MessageContext message) throws SandeshaException
SandeshaException
public abstract org.apache.axiom.om.OMElement createSecurityTokenReference(SecurityToken token, org.apache.axis2.context.MessageContext message) throws SandeshaException
SandeshaException
public abstract void checkProofOfPossession(SecurityToken token, org.apache.axiom.om.OMElement messagePart, org.apache.axis2.context.MessageContext message) throws SandeshaException
SandeshaException
public abstract java.lang.String getTokenRecoveryData(SecurityToken token) throws SandeshaException
SandeshaException
public abstract SecurityToken recoverSecurityToken(java.lang.String tokenData) throws SandeshaException
SandeshaException
public abstract void applySecurityToken(SecurityToken token, org.apache.axis2.context.MessageContext outboundMessage) throws SandeshaException
SandeshaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |