📄 credentialslotconfig.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2) on Wed Jul 19 18:22:41 EDT 2006 --><TITLE>CredentialSlotConfig (IBM WebSphere Portal Version 6.0.0.0 API Docs)</TITLE><META NAME="keywords" CONTENT="com.ibm.portal.portlet.service.credentialvault.CredentialSlotConfig interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="CredentialSlotConfig (IBM WebSphere Portal Version 6.0.0.0 API Docs)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= 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=3 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialTypes.html" title="interface in com.ibm.portal.portlet.service.credentialvault"><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="CredentialSlotConfig.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><A NAME="main"></A><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.ibm.portal.portlet.service.credentialvault</FONT><BR>Interface CredentialSlotConfig</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../../com/ibm/wps/portletservice/credentialvault/CredentialSlotConfig.html" title="interface in com.ibm.wps.portletservice.credentialvault">CredentialSlotConfig</A></DD></DL><HR><DL><DT>public interface <B>CredentialSlotConfig</B></DL><P>Describes the configuration of a credential slot.<P><P><DL><DT><B>Since:</B></DT> <DD>5.1.0.1</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== 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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getActive()">getActive</A></B>()</CODE><BR> Returns the Credential Slot's active/passive flag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/ibm/portal/ObjectID.html" title="interface in com.ibm.portal">ObjectID</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getPortalCPIID()">getPortalCPIID</A></B>()</CODE><BR> If this Vault Slot is user managed and portlet private (a user managed portlet private slot), this method returns the Portlet Instance ID of the portlet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getResourceName()">getResourceName</A></B>()</CODE><BR> Returns the resource name for this Vault Slot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getSecretType()">getSecretType</A></B>()</CODE><BR> Returns the Credential Slot's Secret Type (ID).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/ibm/portal/ObjectID.html" title="interface in com.ibm.portal">ObjectID</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getSegmentPortalObjectID()">getSegmentPortalObjectID</A></B>()</CODE><BR> Returns the Object ID of the Segment this Vault Slot belongs to.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getSlotId()">getSlotId</A></B>()</CODE><BR> Gets the credential slot's id.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotDescription()">getVaultSlotDescription</A></B>()</CODE><BR> Returns the description for this Vault Slot in the portal default locale as specified in the portal configuration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotDescription(java.util.Locale)">getVaultSlotDescription</A></B>(java.util.Locale locale)</CODE><BR> Returns the description for this vault slot in the specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Map</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotDescriptionsMap()">getVaultSlotDescriptionsMap</A></B>()</CODE><BR> Returns a map of all the descriptions for this Vault Slot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotKeywords()">getVaultSlotKeywords</A></B>()</CODE><BR> Returns the keywords for this Vault Slot in the portal default locale, as specified in the portal configuration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotKeywords(java.util.Locale)">getVaultSlotKeywords</A></B>(java.util.Locale locale)</CODE><BR> Returns the keywords for this Vault Slot in the provided locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Map</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#getVaultSlotKeywordsMap()">getVaultSlotKeywordsMap</A></B>()</CODE><BR> Returns a map of all the keywords for this Vault Slot.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#isUserManaged()">isUserManaged</A></B>()</CODE><BR> Returns if this Vault Slot is user managed or not.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#referencesSystemCredential()">referencesSystemCredential</A></B>()</CODE><BR> Returns if this Vault Slot references a System Credential (i.e., every access maps to the same secret).</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setActive(boolean)">setActive</A></B>(boolean active)</CODE><BR> Sets the Credential Slot's active/passive flag.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotDescription(java.lang.String)">setVaultSlotDescription</A></B>(java.lang.String description)</CODE><BR> Sets the description for this Vault Slot in the portal default locale as specified in the portal configuration.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotDescription(java.lang.String, java.util.Locale)">setVaultSlotDescription</A></B>(java.lang.String description, java.util.Locale locale)</CODE><BR> Sets a description for this vault slot in the provided locale.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotDescriptions(java.util.Map)">setVaultSlotDescriptions</A></B>(java.util.Map slotDescriptions)</CODE><BR> Sets all the VaultSlot Descriptions.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotKeywords(java.util.Map)">setVaultSlotKeywords</A></B>(java.util.Map slotKeywords)</CODE><BR> Sets all the Vault Slot keywords.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotKeywords(java.lang.String)">setVaultSlotKeywords</A></B>(java.lang.String keywords)</CODE><BR> Sets the keywords for this Vault Slot in the portal default locale, as specified in the portal configuration.</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="../../../../../../com/ibm/portal/portlet/service/credentialvault/CredentialSlotConfig.html#setVaultSlotKeywords(java.lang.String, java.util.Locale)">setVaultSlotKeywords</A></B>(java.lang.String keywords, java.util.Locale locale)</CODE><BR> Sets the keywords for this Vault Slot in the provided locale.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getSlotId()"><!-- --></A><H3>getSlotId</H3><PRE>public java.lang.String <B>getSlotId</B>()</PRE><DL><DD>Gets the credential slot's id. The slot ids are the keys in the database to store the slot. Therefore they are unique per portal.<P><DD><DL><DT><B>Returns:</B><DD>String The Credential Slot's id as String object.</DL></DD></DL><HR><A NAME="getVaultSlotDescription(java.util.Locale)"><!-- --></A><H3>getVaultSlotDescription</H3><PRE>public java.lang.String <B>getVaultSlotDescription</B>(java.util.Locale locale)</PRE><DL><DD>Returns the description for this vault slot in the specified locale.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - of the description to be returned. The default is returned if the locale is null.<DT><B>Returns:</B><DD>String The description for this Vault Slot in the specified locale. Null is returned if no description is available.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -