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

📄 ldapsecurityservice.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DD>Creates a new permission with specified attributes. <strong>Not implemented</strong><DD><DL><DT><B>Parameters:</B><DD><CODE>permission</CODE> - the object describing the permission to be created.<DT><B>Returns:</B><DD>a new Permission object that has id set up properly.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/EntityExistsException.html">EntityExistsException</A></CODE> - if the permission already exists.</DL></DD></DL><HR><A NAME="removeGroup(org.apache.turbine.om.security.Group)"><!-- --></A><H3>removeGroup</H3><PRE>public void <B>removeGroup</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)                 throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                        <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Removes a Group from the system.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing group to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the group does not exist.</DL></DD></DL><HR><A NAME="removeRole(org.apache.turbine.om.security.Role)"><!-- --></A><H3>removeRole</H3><PRE>public void <B>removeRole</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)                throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                       <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Removes a Role from the system.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing role to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the role does not exist.</DL></DD></DL><HR><A NAME="removePermission(org.apache.turbine.om.security.Permission)"><!-- --></A><H3>removePermission</H3><PRE>public void <B>removePermission</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission)                      throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                             <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Removes a Permission from the system.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing permission to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the permission does not exist.</DL></DD></DL><HR><A NAME="renameGroup(org.apache.turbine.om.security.Group, java.lang.String)"><!-- --></A><H3>renameGroup</H3><PRE>public void <B>renameGroup</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group,                        java.lang.String&nbsp;name)                 throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                        <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Renames an existing Group.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing the group to be renamed.<DD><CODE>name</CODE> - the new name for the group.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the group does not exist.</DL></DD></DL><HR><A NAME="renameRole(org.apache.turbine.om.security.Role, java.lang.String)"><!-- --></A><H3>renameRole</H3><PRE>public void <B>renameRole</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role,                       java.lang.String&nbsp;name)                throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                       <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Renames an existing Role.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing the role to be renamed.<DD><CODE>name</CODE> - the new name for the role.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the role does not exist.</DL></DD></DL><HR><A NAME="renamePermission(org.apache.turbine.om.security.Permission, java.lang.String)"><!-- --></A><H3>renamePermission</H3><PRE>public void <B>renamePermission</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission,                             java.lang.String&nbsp;name)                      throws <A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A>,                             <A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></PRE><DL><DD>Renames an existing Permission.<DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - object describing the permission to be renamed.<DD><CODE>name</CODE> - the new name for the permission.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the permission does not exist.</DL></DD></DL><HR><A NAME="revokeAll(org.apache.turbine.om.security.User)"><!-- --></A><H3>revokeAll</H3><PRE>public void <B>revokeAll</B>(<A HREF="../../../../../../org/apache/turbine/om/security/User.html">User</A>&nbsp;user)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.html">SecurityService</A></CODE></B></DD><DD>Revokes all roles from an User. This method is used when deleting an account.<DD>Following copied from interface: <CODE>org.apache.turbine.services.security.SecurityService</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>user</CODE> - the User.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the account is not present.</DL></DD></DL><HR><A NAME="revokeAll(org.apache.turbine.om.security.Role)"><!-- --></A><H3>revokeAll</H3><PRE>public void <B>revokeAll</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.html">SecurityService</A></CODE></B></DD><DD>Revokes all permissions from a Role. This method is user when deleting a Role.<DD>Following copied from interface: <CODE>org.apache.turbine.services.security.SecurityService</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>role</CODE> - the Role<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/DataBackendException.html">DataBackendException</A></CODE> - if there was an error accessing the data backend.<DD><CODE><A HREF="../../../../../../org/apache/turbine/util/security/UnknownEntityException.html">UnknownEntityException</A></CODE> - if the Role is not present.</DL></DD></DL><HR><A NAME="revokeAll(org.apache.turbine.om.security.Group)"><!-- --></A><H3>revokeAll</H3><PRE>public void <B>revokeAll</B>(<A HREF="../../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)</PRE><DL></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/LDAPSecurityService.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-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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../../org/apache/turbine/services/security/ldap/LDAPUser.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="LDAPSecurityService.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;<A HREF="#fields_inherited_from_class_org.apache.turbine.services.BaseService">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;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>Copyright &copy; 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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