⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 credential.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns whether a credential is active or passive.</br>  Should be overwritten by any child classes.</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><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="LOGGER_NAME"><!-- --></A><H3>LOGGER_NAME</H3><PRE>protected static final java.lang.String <B>LOGGER_NAME</B></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Name of the logger that all WP credentials should use for logging.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.ibm.wps.portletservice.credentialvault.credentials.Credential.LOGGER_NAME">Constant Field Values</A></DL></DL><HR><A NAME="secret"><!-- --></A><H3>secret</H3><PRE>protected com.ibm.wps.sso.credentialvault.secrets.CredentialSecret <B>secret</B></PRE><DL><DD><B>Deprecated.</B>&nbsp;<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="Credential()"><!-- --></A><H3>Credential</H3><PRE>public <B>Credential</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;</DL><HR><A NAME="Credential(java.util.Map)"><!-- --></A><H3>Credential</H3><PRE>public <B>Credential</B>(java.util.Map&nbsp;config)           throws java.lang.InstantiationException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Creates and initializes a new Credential Object.<P><DT><B>Parameters:</B><DD><CODE>config</CODE> - Configuration data that is needed to initialize the credential.           What parameters are needed is specific to the actual credential type.</br>           Generally, this data is collected from three different sources:           <ol>             <li>The credential's <i>client</i> (usually the portlet) specifies backend application specific parameters (like e.g. 'login url')</li>             <li>The portal's <i>credential configuration store</i> delivers credential slot specific parameters</li>             <li>The actual <i>credential store</i> contributes the credential  secret</li>           </ol></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="init(java.util.Map)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(java.util.Map&nbsp;config)          throws <A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialVaultException.html" title="class in com.ibm.portal.portlet.service.credentialvault">CredentialVaultException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Initializes the credential with the specified configuration. Subclasses need to override this method to retrieve the necessary configuration information (e.g. the secret)<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html#init(java.util.Map)">init</A></CODE> in interface <CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html" title="interface in com.ibm.portal.portlet.service.credentialvault.credentials">Credential</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - Configuration data that is needed to initialize the credential.           What parameters are needed is specific to the actual credential type.</br>           Generally, this data is collected from three different sources:           <ol>             <li>The credential's <i>client</i> (usually the portlet) specifies backend application specific parameters (like e.g. 'login url')</li>             <li>The portal's <i>credential configuration store</i> delivers credential slot specific parameters</li>             <li>The actual <i>credential store</i> contributes the credential secret</li>           </ol><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialVaultException.html" title="class in com.ibm.portal.portlet.service.credentialvault">CredentialVaultException</A></CODE> - If any mandatory parameter is missing or has a wrong object type as value.</DL></DD></DL><HR><A NAME="getSecretType()"><!-- --></A><H3>getSecretType</H3><PRE>public int <B>getSecretType</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the credential's Secret Type in terms of the constants declared in   <A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/CredentialVaultService.html" title="interface in com.ibm.wps.portletservice.credentialvault"><CODE>CredentialVaultService</CODE></A></br>  Should be overwritten by any child class that "overwrites" the secret attribute.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html#getSecretType()">getSecretType</A></CODE> in interface <CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html" title="interface in com.ibm.portal.portlet.service.credentialvault.credentials">Credential</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>int            Credential Secret Type identifier<DT><B>See Also:</B><DD><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialVaultService.html" title="interface in com.ibm.portal.portlet.service.credentialvault"><CODE>CredentialVaultService</CODE></A></DL></DD></DL><HR><A NAME="isActive()"><!-- --></A><H3>isActive</H3><PRE>public boolean <B>isActive</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns whether a credential is active or passive.</br>  Should be overwritten by any child classes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html#isActive()">isActive</A></CODE> in interface <CODE><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/credentials/Credential.html" title="interface in com.ibm.portal.portlet.service.credentialvault.credentials">Credential</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean            true if credential is active, false otherwise<DT><B>See Also:</B><DD><A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/credentials/PassiveCredential.html" title="class in com.ibm.wps.portletservice.credentialvault.credentials"><CODE>PassiveCredential</CODE></A>, <A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/credentials/ActiveCredential.html" title="class in com.ibm.wps.portletservice.credentialvault.credentials"><CODE>ActiveCredential</CODE></A></DL></DD></DL><HR><A NAME="checkInitialized()"><!-- --></A><H3>checkInitialized</H3><PRE>protected void <B>checkInitialized</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><DL></DL></DD><DD><DL></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>&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;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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;<A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/credentials/BinaryPassiveCredential.html" title="class in com.ibm.wps.portletservice.credentialvault.credentials"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/credentials/HttpBasicAuthCredential.html" title="class in com.ibm.wps.portletservice.credentialvault.credentials"><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>  &nbsp;&nbsp;<A HREF="Credential.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -