org.apache.sandesha2.security.rampart
Class RampartBasedSecurityManager

java.lang.Object
  extended by org.apache.sandesha2.security.SecurityManager
      extended by org.apache.sandesha2.security.rampart.RampartBasedSecurityManager

public class RampartBasedSecurityManager
extends SecurityManager


Constructor Summary
RampartBasedSecurityManager(org.apache.axis2.context.ConfigurationContext context)
           
 
Method Summary
 void applySecurityToken(SecurityToken token, org.apache.axis2.context.MessageContext outboundMessage)
           
 void checkProofOfPossession(SecurityToken token, org.apache.axiom.om.OMElement messagePart, org.apache.axis2.context.MessageContext message)
           
 org.apache.axiom.om.OMElement createSecurityTokenReference(SecurityToken token, org.apache.axis2.context.MessageContext message)
           
 SecurityToken getSecurityToken(org.apache.axis2.context.MessageContext message)
           
 SecurityToken getSecurityToken(org.apache.axiom.om.OMElement theSTR, org.apache.axis2.context.MessageContext message)
           
 java.lang.String getTokenRecoveryData(SecurityToken token)
           
 void initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
           
 SecurityToken recoverSecurityToken(java.lang.String tokenData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RampartBasedSecurityManager

public RampartBasedSecurityManager(org.apache.axis2.context.ConfigurationContext context)
Parameters:
context -
Method Detail

checkProofOfPossession

public void checkProofOfPossession(SecurityToken token,
                                   org.apache.axiom.om.OMElement messagePart,
                                   org.apache.axis2.context.MessageContext message)
                            throws SandeshaException
Specified by:
checkProofOfPossession in class SecurityManager
Throws:
SandeshaException

createSecurityTokenReference

public org.apache.axiom.om.OMElement createSecurityTokenReference(SecurityToken token,
                                                                  org.apache.axis2.context.MessageContext message)
                                                           throws SandeshaException
Specified by:
createSecurityTokenReference in class SecurityManager
Throws:
SandeshaException

getSecurityToken

public SecurityToken getSecurityToken(org.apache.axis2.context.MessageContext message)
                               throws SandeshaException
Specified by:
getSecurityToken in class SecurityManager
Throws:
SandeshaException

getSecurityToken

public SecurityToken getSecurityToken(org.apache.axiom.om.OMElement theSTR,
                                      org.apache.axis2.context.MessageContext message)
                               throws SandeshaException
Specified by:
getSecurityToken in class SecurityManager
Throws:
SandeshaException

getTokenRecoveryData

public java.lang.String getTokenRecoveryData(SecurityToken token)
                                      throws SandeshaException
Specified by:
getTokenRecoveryData in class SecurityManager
Throws:
SandeshaException

initSecurity

public void initSecurity(org.apache.axis2.description.AxisModule moduleDesc)
Specified by:
initSecurity in class SecurityManager

recoverSecurityToken

public SecurityToken recoverSecurityToken(java.lang.String tokenData)
                                   throws SandeshaException
Specified by:
recoverSecurityToken in class SecurityManager
Throws:
SandeshaException

applySecurityToken

public void applySecurityToken(SecurityToken token,
                               org.apache.axis2.context.MessageContext outboundMessage)
                        throws SandeshaException
Specified by:
applySecurityToken in class SecurityManager
Throws:
SandeshaException


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.