| <!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> |
| SAMLTokenRenewer (Apache CXF JavaDoc 3.0.0 API) |
| </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="SAMLTokenRenewer (Apache CXF JavaDoc 3.0.0 API)"; |
| } |
| } |
| </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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAMLTokenRenewer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SAMLTokenRenewer.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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.cxf.sts.token.renewer</FONT> |
| <BR> |
| Class SAMLTokenRenewer</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cxf.sts.token.renewer.SAMLTokenRenewer</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>SAMLTokenRenewer</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></DL> |
| </PRE> |
| |
| <P> |
| A TokenRenewer implementation that renews a (valid or expired) SAML Token. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_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>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#DEFAULT_MAX_EXPIRY">DEFAULT_MAX_EXPIRY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== 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/cxf/sts/token/renewer/SAMLTokenRenewer.html#SAMLTokenRenewer()">SAMLTokenRenewer</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#canHandleToken(org.apache.cxf.sts.request.ReceivedToken)">canHandleToken</A></B>(<A HREF="../../../../../../org/apache/cxf/sts/request/ReceivedToken.html" title="class in org.apache.cxf.sts.request">ReceivedToken</A> renewTarget)</CODE> |
| |
| <BR> |
| Return true if this TokenRenewer implementation is able to renew a token.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#canHandleToken(org.apache.cxf.sts.request.ReceivedToken, java.lang.String)">canHandleToken</A></B>(<A HREF="../../../../../../org/apache/cxf/sts/request/ReceivedToken.html" title="class in org.apache.cxf.sts.request">ReceivedToken</A> renewTarget, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> realm)</CODE> |
| |
| <BR> |
| Return true if this TokenRenewer implementation is able to renew a token in the given realm.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/apache/cxf/sts/token/provider/ConditionsProvider.html" title="interface in org.apache.cxf.sts.token.provider">ConditionsProvider</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#getConditionsProvider()">getConditionsProvider</A></B>()</CODE> |
| |
| <BR> |
| Get the ConditionsProvider</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#getMaxExpiry()">getMaxExpiry</A></B>()</CODE> |
| |
| <BR> |
| Get how long a token is allowed to be expired for before renewal (in seconds).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/cxf/sts/token/realm/SAMLRealm.html" title="class in org.apache.cxf.sts.token.realm">SAMLRealm</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#getRealmMap()">getRealmMap</A></B>()</CODE> |
| |
| <BR> |
| Get the map of realm->SAMLRealm for this token provider</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#isAllowRenewalAfterExpiry()">isAllowRenewalAfterExpiry</A></B>()</CODE> |
| |
| <BR> |
| Get whether we allow renewal after expiry.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#isSignToken()">isSignToken</A></B>()</CODE> |
| |
| <BR> |
| Return whether the provided token will be signed or not.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewerResponse.html" title="class in org.apache.cxf.sts.token.renewer">TokenRenewerResponse</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#renewToken(org.apache.cxf.sts.token.renewer.TokenRenewerParameters)">renewToken</A></B>(<A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewerParameters.html" title="class in org.apache.cxf.sts.token.renewer">TokenRenewerParameters</A> tokenParameters)</CODE> |
| |
| <BR> |
| Renew a token given a TokenRenewerParameters</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setAllowRenewalAfterExpiry(boolean)">setAllowRenewalAfterExpiry</A></B>(boolean allowRenewalAfterExpiry)</CODE> |
| |
| <BR> |
| Set whether we allow renewal after expiry.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setConditionsProvider(org.apache.cxf.sts.token.provider.ConditionsProvider)">setConditionsProvider</A></B>(<A HREF="../../../../../../org/apache/cxf/sts/token/provider/ConditionsProvider.html" title="interface in org.apache.cxf.sts.token.provider">ConditionsProvider</A> conditionsProvider)</CODE> |
| |
| <BR> |
| Set the ConditionsProvider</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setMaxExpiry(long)">setMaxExpiry</A></B>(long newExpiry)</CODE> |
| |
| <BR> |
| Set a new value (in seconds) for how long a token is allowed to be expired for before renewal.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setRealmMap(java.util.Map)">setRealmMap</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/cxf/sts/token/realm/SAMLRealm.html" title="class in org.apache.cxf.sts.token.realm">SAMLRealm</A>> realms)</CODE> |
| |
| <BR> |
| Set the map of realm->SAMLRealm for this token provider</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setSignToken(boolean)">setSignToken</A></B>(boolean signToken)</CODE> |
| |
| <BR> |
| Set whether the provided token will be signed or not.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html#setVerifyProofOfPossession(boolean)">setVerifyProofOfPossession</A></B>(boolean verifyProofOfPossession)</CODE> |
| |
| <BR> |
| Set whether proof of possession is required or not to renew a token</TD> |
| </TR> |
| </TABLE> |
| <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.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="DEFAULT_MAX_EXPIRY"><!-- --></A><H3> |
| DEFAULT_MAX_EXPIRY</H3> |
| <PRE> |
| public static final long <B>DEFAULT_MAX_EXPIRY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.cxf.sts.token.renewer.SAMLTokenRenewer.DEFAULT_MAX_EXPIRY">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ========= 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="SAMLTokenRenewer()"><!-- --></A><H3> |
| SAMLTokenRenewer</H3> |
| <PRE> |
| public <B>SAMLTokenRenewer</B>()</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="canHandleToken(org.apache.cxf.sts.request.ReceivedToken)"><!-- --></A><H3> |
| canHandleToken</H3> |
| <PRE> |
| public boolean <B>canHandleToken</B>(<A HREF="../../../../../../org/apache/cxf/sts/request/ReceivedToken.html" title="class in org.apache.cxf.sts.request">ReceivedToken</A> renewTarget)</PRE> |
| <DL> |
| <DD>Return true if this TokenRenewer implementation is able to renew a token. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html#canHandleToken(org.apache.cxf.sts.request.ReceivedToken)">canHandleToken</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="canHandleToken(org.apache.cxf.sts.request.ReceivedToken, java.lang.String)"><!-- --></A><H3> |
| canHandleToken</H3> |
| <PRE> |
| public boolean <B>canHandleToken</B>(<A HREF="../../../../../../org/apache/cxf/sts/request/ReceivedToken.html" title="class in org.apache.cxf.sts.request">ReceivedToken</A> renewTarget, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> realm)</PRE> |
| <DL> |
| <DD>Return true if this TokenRenewer implementation is able to renew a token in the given realm. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html#canHandleToken(org.apache.cxf.sts.request.ReceivedToken, java.lang.String)">canHandleToken</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setVerifyProofOfPossession(boolean)"><!-- --></A><H3> |
| setVerifyProofOfPossession</H3> |
| <PRE> |
| public void <B>setVerifyProofOfPossession</B>(boolean verifyProofOfPossession)</PRE> |
| <DL> |
| <DD>Set whether proof of possession is required or not to renew a token |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html#setVerifyProofOfPossession(boolean)">setVerifyProofOfPossession</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAllowRenewalAfterExpiry()"><!-- --></A><H3> |
| isAllowRenewalAfterExpiry</H3> |
| <PRE> |
| public boolean <B>isAllowRenewalAfterExpiry</B>()</PRE> |
| <DL> |
| <DD>Get whether we allow renewal after expiry. The default is false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAllowRenewalAfterExpiry(boolean)"><!-- --></A><H3> |
| setAllowRenewalAfterExpiry</H3> |
| <PRE> |
| public void <B>setAllowRenewalAfterExpiry</B>(boolean allowRenewalAfterExpiry)</PRE> |
| <DL> |
| <DD>Set whether we allow renewal after expiry. The default is false. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html#setAllowRenewalAfterExpiry(boolean)">setAllowRenewalAfterExpiry</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setMaxExpiry(long)"><!-- --></A><H3> |
| setMaxExpiry</H3> |
| <PRE> |
| public void <B>setMaxExpiry</B>(long newExpiry)</PRE> |
| <DL> |
| <DD>Set a new value (in seconds) for how long a token is allowed to be expired for before renewal. |
| The default is 30 minutes. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxExpiry()"><!-- --></A><H3> |
| getMaxExpiry</H3> |
| <PRE> |
| public long <B>getMaxExpiry</B>()</PRE> |
| <DL> |
| <DD>Get how long a token is allowed to be expired for before renewal (in seconds). The default is |
| 30 minutes. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="renewToken(org.apache.cxf.sts.token.renewer.TokenRenewerParameters)"><!-- --></A><H3> |
| renewToken</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewerResponse.html" title="class in org.apache.cxf.sts.token.renewer">TokenRenewerResponse</A> <B>renewToken</B>(<A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewerParameters.html" title="class in org.apache.cxf.sts.token.renewer">TokenRenewerParameters</A> tokenParameters)</PRE> |
| <DL> |
| <DD>Renew a token given a TokenRenewerParameters |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html#renewToken(org.apache.cxf.sts.token.renewer.TokenRenewerParameters)">renewToken</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer">TokenRenewer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConditionsProvider(org.apache.cxf.sts.token.provider.ConditionsProvider)"><!-- --></A><H3> |
| setConditionsProvider</H3> |
| <PRE> |
| public void <B>setConditionsProvider</B>(<A HREF="../../../../../../org/apache/cxf/sts/token/provider/ConditionsProvider.html" title="interface in org.apache.cxf.sts.token.provider">ConditionsProvider</A> conditionsProvider)</PRE> |
| <DL> |
| <DD>Set the ConditionsProvider |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConditionsProvider()"><!-- --></A><H3> |
| getConditionsProvider</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/apache/cxf/sts/token/provider/ConditionsProvider.html" title="interface in org.apache.cxf.sts.token.provider">ConditionsProvider</A> <B>getConditionsProvider</B>()</PRE> |
| <DL> |
| <DD>Get the ConditionsProvider |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isSignToken()"><!-- --></A><H3> |
| isSignToken</H3> |
| <PRE> |
| public boolean <B>isSignToken</B>()</PRE> |
| <DL> |
| <DD>Return whether the provided token will be signed or not. Default is true. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSignToken(boolean)"><!-- --></A><H3> |
| setSignToken</H3> |
| <PRE> |
| public void <B>setSignToken</B>(boolean signToken)</PRE> |
| <DL> |
| <DD>Set whether the provided token will be signed or not. Default is true. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRealmMap(java.util.Map)"><!-- --></A><H3> |
| setRealmMap</H3> |
| <PRE> |
| public void <B>setRealmMap</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/cxf/sts/token/realm/SAMLRealm.html" title="class in org.apache.cxf.sts.token.realm">SAMLRealm</A>> realms)</PRE> |
| <DL> |
| <DD>Set the map of realm->SAMLRealm for this token provider |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>realms</CODE> - the map of realm->SAMLRealm for this token provider</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRealmMap()"><!-- --></A><H3> |
| getRealmMap</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/cxf/sts/token/realm/SAMLRealm.html" title="class in org.apache.cxf.sts.token.realm">SAMLRealm</A>> <B>getRealmMap</B>()</PRE> |
| <DL> |
| <DD>Get the map of realm->SAMLRealm for this token provider |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the map of realm->SAMLRealm for this token provider</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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAMLTokenRenewer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../../org/apache/cxf/sts/token/renewer/TokenRenewer.html" title="interface in org.apache.cxf.sts.token.renewer"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/cxf/sts/token/renewer/SAMLTokenRenewer.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SAMLTokenRenewer.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Apache CXF |
| </BODY> |
| </HTML> |