📄 passwdmembershipservice.passwdauthenticator.html
字号:
</TABLE><A NAME="source"><!-- --></A><H3>source</H3><PRE><A HREF="../../../../net/jxta/membership/MembershipService.html" title="interface in net.jxta.membership">MembershipService</A> <B>source</B></PRE><DL><DD>The Membership Service which generated this authenticator.<P><DL></DL></DL><HR><A NAME="application"><!-- --></A><H3>application</H3><PRE><A HREF="../../../../net/jxta/credential/AuthenticationCredential.html" title="class in net.jxta.credential">AuthenticationCredential</A> <B>application</B></PRE><DL><DD>The Authentication which was provided to the Apply operation of the membership service.<P><DL></DL></DL><HR><A NAME="whoami"><!-- --></A><H3>whoami</H3><PRE>java.lang.String <B>whoami</B></PRE><DL><DD>the identity which is being claimed<P><DL></DL></DL><HR><A NAME="password"><!-- --></A><H3>password</H3><PRE>java.lang.String <B>password</B></PRE><DL><DD>the password for that identity.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="PasswdMembershipService.PasswdAuthenticator(net.jxta.membership.MembershipService, net.jxta.credential.AuthenticationCredential)"><!-- --></A><H3>PasswdMembershipService.PasswdAuthenticator</H3><PRE><B>PasswdMembershipService.PasswdAuthenticator</B>(<A HREF="../../../../net/jxta/membership/MembershipService.html" title="interface in net.jxta.membership">MembershipService</A> source, <A HREF="../../../../net/jxta/credential/AuthenticationCredential.html" title="class in net.jxta.credential">AuthenticationCredential</A> application)</PRE><DL><DD>Creates an authenticator for the password MembershipService service. The only method supported is "PasswdAuthentication". Anything entered into the identity info section of the Authentication credential is ignored.<P><DT><B>Parameters:</B><DD><CODE>source</CODE> - The instance of the password membership service which created this authenticator.<DD><CODE>application</CODE> - The Anything entered into the identity info section of the Authentication credential is ignored.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getSourceService()"><!-- --></A><H3>getSourceService</H3><PRE>public <A HREF="../../../../net/jxta/membership/MembershipService.html" title="interface in net.jxta.membership">MembershipService</A> <B>getSourceService</B>()</PRE><DL><DD>Returns the service which generated this authenticator. This is the service which provided this authenticator and the service which will accept this authenticator when the authenticator is completed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/membership/Authenticator.html#getSourceService()">getSourceService</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/membership/Authenticator.html" title="interface in net.jxta.membership">Authenticator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the MembershipService service associated with this authenticator.</DL></DD></DL><HR><A NAME="isReadyForJoin()"><!-- --></A><H3>isReadyForJoin</H3><PRE>public boolean <B>isReadyForJoin</B>()</PRE><DL><DD>Returns true if this Authenticator has been satisfied and is ready for submission to <A HREF="../../../../net/jxta/membership/MembershipService.html#join(net.jxta.membership.Authenticator)"><CODE>MembershipService.join(Authenticator)</CODE></A>. Some authenticators may behave asynchronously and this method can be used to determine if the authentication process has completed. <p/>This method provides no distinction between incomplete authentication and failed authentication.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/membership/Authenticator.html#isReadyForJoin()">isReadyForJoin</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/membership/Authenticator.html" title="interface in net.jxta.membership">Authenticator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the authenticator object is complete and ready for submitting to the Membership Service service for <A HREF="../../../../net/jxta/membership/MembershipService.html#join(net.jxta.membership.Authenticator)"><CODE>MembershipService.join(Authenticator)</CODE></A>, otherwise false.<DT><B>See Also:</B><DD><A HREF="../../../../net/jxta/membership/MembershipService.html#join(net.jxta.membership.Authenticator)"><CODE>MembershipService.join(Authenticator)</CODE></A></DL></DD></DL><HR><A NAME="getMethodName()"><!-- --></A><H3>getMethodName</H3><PRE>public java.lang.String <B>getMethodName</B>()</PRE><DL><DD>Returns the name of this authentication method. This should be the same name which was used in the Authentication credential.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/membership/Authenticator.html#getMethodName()">getMethodName</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/membership/Authenticator.html" title="interface in net.jxta.membership">Authenticator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>String containing the name of this authentication method.</DL></DD></DL><HR><A NAME="setAuth1Identity(java.lang.String)"><!-- --></A><H3>setAuth1Identity</H3><PRE>public void <B>setAuth1Identity</B>(java.lang.String who)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAuth1Identity()"><!-- --></A><H3>getAuth1Identity</H3><PRE>public java.lang.String <B>getAuth1Identity</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setAuth2_Password(java.lang.String)"><!-- --></A><H3>setAuth2_Password</H3><PRE>public void <B>setAuth2_Password</B>(java.lang.String secret)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAuthenticationCredential()"><!-- --></A><H3>getAuthenticationCredential</H3><PRE>public <A HREF="../../../../net/jxta/credential/AuthenticationCredential.html" title="class in net.jxta.credential">AuthenticationCredential</A> <B>getAuthenticationCredential</B>()</PRE><DL><DD>Returns the AuthenticationCredential which is associated with this authenticator<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/membership/Authenticator.html#getAuthenticationCredential()">getAuthenticationCredential</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/membership/Authenticator.html" title="interface in net.jxta.membership">Authenticator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the AuthenticationCredential which is associated with this authenticator</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=3 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/PasswdMembershipService.PasswdAuthenticator.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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/jxta/impl/membership/PasswdMembershipService.IdMaker.html" title="class in net.jxta.impl.membership"><B>PREV CLASS</B></A> <A HREF="../../../../net/jxta/impl/membership/PasswdMembershipService.PasswdCredential.html" title="class in net.jxta.impl.membership"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PasswdMembershipService.PasswdAuthenticator.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></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -