📄 ldapsecurityservice.html
字号:
<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> 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> 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> 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> group, java.lang.String 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> role, java.lang.String 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> permission, java.lang.String 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> 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> 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> 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> </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/LDAPSecurityService.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <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> <A HREF="LDAPSecurityService.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.turbine.services.BaseService">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -