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

📄 identityscope.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="IdentityScope()"><!-- --></A><H3>IdentityScope</H3><PRE>protected <B>IdentityScope</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>This constructor is used for serialization only and should not be used by subclasses.</DL><HR><A NAME="IdentityScope(java.lang.String)"><!-- --></A><H3>IdentityScope</H3><PRE>public <B>IdentityScope</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Constructs a new identity scope with the specified name.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the scope name.</DL></DD></DL><HR><A NAME="IdentityScope(java.lang.String, java.security.IdentityScope)"><!-- --></A><H3>IdentityScope</H3><PRE>public <B>IdentityScope</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name,                     <A HREF="../../java/security/IdentityScope.html">IdentityScope</A>&nbsp;scope)              throws <A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Constructs a new identity scope with the specified name and scope.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the scope name.<DD><CODE>scope</CODE> - the scope for the new identity scope.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></CODE> - if there is already an identity  with the same name in the scope.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getSystemScope()"><!-- --></A><H3>getSystemScope</H3><PRE>public static <A HREF="../../java/security/IdentityScope.html">IdentityScope</A> <B>getSystemScope</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the system's identity scope.<DD><DL><DT><B>Returns:</B><DD>the system's identity scope.</DL></DD></DL><HR><A NAME="setSystemScope(java.security.IdentityScope)"><!-- --></A><H3>setSystemScope</H3><PRE>protected static void <B>setSystemScope</B>(<A HREF="../../java/security/IdentityScope.html">IdentityScope</A>&nbsp;scope)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Sets the system's identity scope. <p>First, if there is a security manager, its  <code>checkSecurityAccess</code>  method is called with <code>"setSystemScope"</code>  as its argument to see if it's ok to set the identity scope.<DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to set.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/lang/SecurityException.html">SecurityException</A></CODE> - if a security manager exists and its   <code>checkSecurityAccess</code> method doesn't allow  setting the identity scope.<DT><B>See Also: </B><DD><A HREF="../../java/lang/SecurityManager.html#checkSecurityAccess(java.lang.String)"><CODE>SecurityManager.checkSecurityAccess(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public abstract int <B>size</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the number of identities within this identity scope.<DD><DL><DT><B>Returns:</B><DD>the number of identities within this identity scope.</DL></DD></DL><HR><A NAME="getIdentity(java.lang.String)"><!-- --></A><H3>getIdentity</H3><PRE>public abstract <A HREF="../../java/security/Identity.html">Identity</A> <B>getIdentity</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the identity in this scope with the specified name (if any).<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the identity to be retrieved.<DT><B>Returns:</B><DD>the identity named <code>name</code>, or null if there are no identities named <code>name</code> in this scope.</DL></DD></DL><HR><A NAME="getIdentity(java.security.Principal)"><!-- --></A><H3>getIdentity</H3><PRE>public <A HREF="../../java/security/Identity.html">Identity</A> <B>getIdentity</B>(<A HREF="../../java/security/Principal.html">Principal</A>&nbsp;principal)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Retrieves the identity whose name is the same as that of the  specified principal. (Note: Identity implements Principal.)<DD><DL><DT><B>Parameters:</B><DD><CODE>principal</CODE> - the principal corresponding to the identity to be retrieved.<DT><B>Returns:</B><DD>the identity whose name is the same as that of the  principal, or null if there are no identities of the same name  in this scope.</DL></DD></DL><HR><A NAME="getIdentity(java.security.PublicKey)"><!-- --></A><H3>getIdentity</H3><PRE>public abstract <A HREF="../../java/security/Identity.html">Identity</A> <B>getIdentity</B>(<A HREF="../../java/security/PublicKey.html">PublicKey</A>&nbsp;key)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Retrieves the identity with the specified public key.<DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the public key for the identity to be returned.<DT><B>Returns:</B><DD>the identity with the given key, or null if there are no identities in this scope with that key.</DL></DD></DL><HR><A NAME="addIdentity(java.security.Identity)"><!-- --></A><H3>addIdentity</H3><PRE>public abstract void <B>addIdentity</B>(<A HREF="../../java/security/Identity.html">Identity</A>&nbsp;identity)                          throws <A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Adds an identity to this identity scope.<DD><DL><DT><B>Parameters:</B><DD><CODE>identity</CODE> - the identity to be added.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></CODE> - if the identity is not valid, a name conflict occurs, another identity has the same public key as the identity being added, or another exception occurs.</DL></DD></DL><HR><A NAME="removeIdentity(java.security.Identity)"><!-- --></A><H3>removeIdentity</H3><PRE>public abstract void <B>removeIdentity</B>(<A HREF="../../java/security/Identity.html">Identity</A>&nbsp;identity)                             throws <A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Removes an identity from this identity scope.<DD><DL><DT><B>Parameters:</B><DD><CODE>identity</CODE> - the identity to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/security/KeyManagementException.html">KeyManagementException</A></CODE> - if the identity is missing, or another exception occurs.</DL></DD></DL><HR><A NAME="identities()"><!-- --></A><H3>identities</H3><PRE>public abstract <A HREF="../../java/util/Enumeration.html">Enumeration</A> <B>identities</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns an enumeration of all identities in this identity scope.<DD><DL><DT><B>Returns:</B><DD>an enumeration of all identities in this identity scope.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/security/Identity.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../java/security/Identity.html">Identity</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation of this identity scope.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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/IdentityScope.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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../java/security/Identity.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/security/KeyFactory.html"><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="IdentityScope.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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