blob: fa61fe398138167f6ab2a68c95b847155b0c8f3a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
DummySecurityManager (Apache Sandesha2)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DummySecurityManager (Apache Sandesha2)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DummySecurityManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/sandesha2/security/dummy/DummySecurityManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DummySecurityManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.sandesha2.security.dummy</FONT>
<BR>
Class DummySecurityManager</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">org.apache.sandesha2.security.SecurityManager</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.sandesha2.security.dummy.DummySecurityManager</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>DummySecurityManager</B><DT>extends <A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></DL>
</PRE>
<P>
A null implementation of a security manager. This manager cannot create tokens, so the
messages sent using this manager will not be secured.
<P>
<P>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#DummySecurityManager(org.apache.axis2.context.ConfigurationContext)">DummySecurityManager</A></B>(org.apache.axis2.context.ConfigurationContext&nbsp;context)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#applySecurityToken(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">applySecurityToken</A></B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axis2.context.MessageContext&nbsp;outboundMessage)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ensure that the given token will be associated with an outbound message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#checkProofOfPossession(org.apache.sandesha2.security.SecurityToken, org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">checkProofOfPossession</A></B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axiom.om.OMElement&nbsp;messagePart,
org.apache.axis2.context.MessageContext&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check that the given element of the message demonstrated proof of possession of
the given token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.axiom.om.OMElement</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#createSecurityTokenReference(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">createSecurityTokenReference</A></B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axis2.context.MessageContext&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a SecurityTokenReference, suitable for inclusion in the given message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#getSecurityToken(org.apache.axis2.context.MessageContext)">getSecurityToken</A></B>(org.apache.axis2.context.MessageContext&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a security token to secure an outbound create sequence message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#getSecurityToken(org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">getSecurityToken</A></B>(org.apache.axiom.om.OMElement&nbsp;theSTR,
org.apache.axis2.context.MessageContext&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a security token, from a SecurityTokenReference within an inbound message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#getTokenRecoveryData(org.apache.sandesha2.security.SecurityToken)">getTokenRecoveryData</A></B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the data from this token in to a String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#initSecurity(org.apache.axis2.description.AxisModule)">initSecurity</A></B>(org.apache.axis2.description.AxisModule&nbsp;moduleDesc)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the security manager.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/sandesha2/security/dummy/DummySecurityManager.html#recoverSecurityToken(java.lang.String)">recoverSecurityToken</A></B>(java.lang.String&nbsp;tokenData)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reconstruct a token from a String.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="DummySecurityManager(org.apache.axis2.context.ConfigurationContext)"><!-- --></A><H3>
DummySecurityManager</H3>
<PRE>
public <B>DummySecurityManager</B>(org.apache.axis2.context.ConfigurationContext&nbsp;context)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="initSecurity(org.apache.axis2.description.AxisModule)"><!-- --></A><H3>
initSecurity</H3>
<PRE>
public void <B>initSecurity</B>(org.apache.axis2.description.AxisModule&nbsp;moduleDesc)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#initSecurity(org.apache.axis2.description.AxisModule)">SecurityManager</A></CODE></B></DD>
<DD>Initialize the security manager. This may perfom setup such as checking the set
of sequences that have been persisted over restart, and bootstrapping their
security state.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#initSecurity(org.apache.axis2.description.AxisModule)">initSecurity</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="checkProofOfPossession(org.apache.sandesha2.security.SecurityToken, org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
checkProofOfPossession</H3>
<PRE>
public void <B>checkProofOfPossession</B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axiom.om.OMElement&nbsp;messagePart,
org.apache.axis2.context.MessageContext&nbsp;message)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#checkProofOfPossession(org.apache.sandesha2.security.SecurityToken, org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">SecurityManager</A></CODE></B></DD>
<DD>Check that the given element of the message demonstrated proof of possession of
the given token. This allows Sandesha to implement the checking required by the
RM spec. Proof is normally demonstrated by signing or encrypting the the given
part using the token.
If the elements is not secured with the given token the SecurityManager must
throw an exception.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#checkProofOfPossession(org.apache.sandesha2.security.SecurityToken, org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">checkProofOfPossession</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSecurityToken(org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
getSecurityToken</H3>
<PRE>
public <A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A> <B>getSecurityToken</B>(org.apache.axis2.context.MessageContext&nbsp;message)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getSecurityToken(org.apache.axis2.context.MessageContext)">SecurityManager</A></CODE></B></DD>
<DD>Get a security token to secure an outbound create sequence message. This token
will be the one referenced with the body of the CreateSequence. This method may
return null, in which case the CreateSequence message will not contain the
SecurityTokenReference.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getSecurityToken(org.apache.axis2.context.MessageContext)">getSecurityToken</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTokenRecoveryData(org.apache.sandesha2.security.SecurityToken)"><!-- --></A><H3>
getTokenRecoveryData</H3>
<PRE>
public java.lang.String <B>getTokenRecoveryData</B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getTokenRecoveryData(org.apache.sandesha2.security.SecurityToken)">SecurityManager</A></CODE></B></DD>
<DD>Write the data from this token in to a String. This is here to simplify storing
token data into the storage layer - rather than rely on Java serialization we
use this method, and the matching SecurityManager method to rebuild the token
object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getTokenRecoveryData(org.apache.sandesha2.security.SecurityToken)">getTokenRecoveryData</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="recoverSecurityToken(java.lang.String)"><!-- --></A><H3>
recoverSecurityToken</H3>
<PRE>
public <A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A> <B>recoverSecurityToken</B>(java.lang.String&nbsp;tokenData)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#recoverSecurityToken(java.lang.String)">SecurityManager</A></CODE></B></DD>
<DD>Reconstruct a token from a String. This method should not return null - if the
security manager is unable to recover the token from the correlation data then
it should throw an exception.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#recoverSecurityToken(java.lang.String)">recoverSecurityToken</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSecurityToken(org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
getSecurityToken</H3>
<PRE>
public <A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A> <B>getSecurityToken</B>(org.apache.axiom.om.OMElement&nbsp;theSTR,
org.apache.axis2.context.MessageContext&nbsp;message)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getSecurityToken(org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">SecurityManager</A></CODE></B></DD>
<DD>Get a security token, from a SecurityTokenReference within an inbound message.
This method should not return null, so if the Token cannot be found the implementation
should throw an exception.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#getSecurityToken(org.apache.axiom.om.OMElement, org.apache.axis2.context.MessageContext)">getSecurityToken</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createSecurityTokenReference(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
createSecurityTokenReference</H3>
<PRE>
public org.apache.axiom.om.OMElement <B>createSecurityTokenReference</B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axis2.context.MessageContext&nbsp;message)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#createSecurityTokenReference(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">SecurityManager</A></CODE></B></DD>
<DD>Create a SecurityTokenReference, suitable for inclusion in the given message.
The imelementation may choose to insert security headers into the SOAP envelope at
this point, or it may choose to simple place some state into the message context
and defer the real work until the security handlers execute.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#createSecurityTokenReference(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">createSecurityTokenReference</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="applySecurityToken(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)"><!-- --></A><H3>
applySecurityToken</H3>
<PRE>
public void <B>applySecurityToken</B>(<A HREF="../../../../../org/apache/sandesha2/security/SecurityToken.html" title="interface in org.apache.sandesha2.security">SecurityToken</A>&nbsp;token,
org.apache.axis2.context.MessageContext&nbsp;outboundMessage)
throws <A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#applySecurityToken(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">SecurityManager</A></CODE></B></DD>
<DD>Ensure that the given token will be associated with an outbound message.
This gives the SecurityManager implementation an opportunity to decorate
the message context with properties that will then be used by the security
handlers.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html#applySecurityToken(org.apache.sandesha2.security.SecurityToken, org.apache.axis2.context.MessageContext)">applySecurityToken</A></CODE> in class <CODE><A HREF="../../../../../org/apache/sandesha2/security/SecurityManager.html" title="class in org.apache.sandesha2.security">SecurityManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/sandesha2/SandeshaException.html" title="class in org.apache.sandesha2">SandeshaException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DummySecurityManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/sandesha2/security/dummy/DummySecurityManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DummySecurityManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>