|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sandesha2.security.SecurityManager
org.apache.sandesha2.security.rampart.RampartBasedSecurityManager
public class RampartBasedSecurityManager
Constructor Summary | |
---|---|
RampartBasedSecurityManager(org.apache.axis2.context.ConfigurationContext context)
|
Method Summary | |
---|---|
void |
applySecurityToken(SecurityToken token,
org.apache.axis2.context.MessageContext outboundMessage)
Ensure that the given token will be associated with an outbound message. |
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. |
org.apache.axiom.om.OMElement |
createSecurityTokenReference(SecurityToken token,
org.apache.axis2.context.MessageContext message)
Create a SecurityTokenReference, suitable for inclusion in the given message. |
SecurityToken |
getSecurityToken(org.apache.axis2.context.MessageContext message)
Get a security token to secure an outbound create sequence message. |
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. |
java.lang.String |
getTokenRecoveryData(SecurityToken token)
Write the data from this token in to a String. |
void |
initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
Initialize the security manager. |
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 RampartBasedSecurityManager(org.apache.axis2.context.ConfigurationContext context)
context
- Method Detail |
---|
public void checkProofOfPossession(SecurityToken token, org.apache.axiom.om.OMElement messagePart, org.apache.axis2.context.MessageContext message) throws SandeshaException
SecurityManager
checkProofOfPossession
in class SecurityManager
SandeshaException
public org.apache.axiom.om.OMElement createSecurityTokenReference(SecurityToken token, org.apache.axis2.context.MessageContext message) throws SandeshaException
SecurityManager
createSecurityTokenReference
in class SecurityManager
SandeshaException
public SecurityToken getSecurityToken(org.apache.axis2.context.MessageContext message) throws SandeshaException
SecurityManager
getSecurityToken
in class SecurityManager
SandeshaException
public SecurityToken getSecurityToken(org.apache.axiom.om.OMElement theSTR, org.apache.axis2.context.MessageContext message) throws SandeshaException
SecurityManager
getSecurityToken
in class SecurityManager
SandeshaException
public java.lang.String getTokenRecoveryData(SecurityToken token) throws SandeshaException
SecurityManager
getTokenRecoveryData
in class SecurityManager
SandeshaException
public void initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
SecurityManager
initSecurity
in class SecurityManager
public SecurityToken recoverSecurityToken(java.lang.String tokenData) throws SandeshaException
SecurityManager
recoverSecurityToken
in class SecurityManager
SandeshaException
public void applySecurityToken(SecurityToken token, org.apache.axis2.context.MessageContext outboundMessage) throws SandeshaException
SecurityManager
applySecurityToken
in class SecurityManager
SandeshaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |