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

📄 securityservice.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a Group from the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#removePermission(org.apache.turbine.om.security.Permission)">removePermission</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a Permission from the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#removeRole(org.apache.turbine.om.security.Role)">removeRole</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a Role from the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#removeUser(org.apache.turbine.om.security.User)">removeUser</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A>&nbsp;user)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an user account from the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#renameGroup(org.apache.turbine.om.security.Group, java.lang.String)">renameGroup</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group,            java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renames an existing Group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#renamePermission(org.apache.turbine.om.security.Permission, java.lang.String)">renamePermission</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission,                 java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renames an existing Permission.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#renameRole(org.apache.turbine.om.security.Role, java.lang.String)">renameRole</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role,           java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renames an existing Role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#revoke(org.apache.turbine.om.security.Role, org.apache.turbine.om.security.Permission)">revoke</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role,       <A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revokes a Permission from a Role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#revoke(org.apache.turbine.om.security.User, org.apache.turbine.om.security.Group, org.apache.turbine.om.security.Role)">revoke</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A>&nbsp;user,       <A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group,       <A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revoke a Role in a Group from an User.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#revokeAll(org.apache.turbine.om.security.Role)">revokeAll</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revokes all permissions from a Role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#revokeAll(org.apache.turbine.om.security.User)">revokeAll</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A>&nbsp;user)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revokes all roles from an User.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#saveGroup(org.apache.turbine.om.security.Group)">saveGroup</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores Group's attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#savePermission(org.apache.turbine.om.security.Permission)">savePermission</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A>&nbsp;permission)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores Permission's attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#saveRole(org.apache.turbine.om.security.Role)">saveRole</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A>&nbsp;role)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores Role's attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html#saveUser(org.apache.turbine.om.security.User)">saveUser</A></B>(<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A>&nbsp;user)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves User's data in the permanent storage.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Service"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Service.html">Service</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Service.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getName()">getName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setServiceBroker(org.apache.turbine.services.ServiceBroker)">setServiceBroker</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Initable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Initable.html">Initable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Initable.html#getInit()">getInit</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#init()">init</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#init(java.lang.Object)">init</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#setInitableBroker(org.apache.turbine.services.InitableBroker)">setInitableBroker</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#shutdown()">shutdown</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="SERVICE_NAME"><!-- --></A><H3>SERVICE_NAME</H3><PRE>public static final java.lang.String <B>SERVICE_NAME</B></PRE><DL><DD>The name of the service</DL><HR><A NAME="USER_CLASS_KEY"><!-- --></A><H3>USER_CLASS_KEY</H3><PRE>public static final java.lang.String <B>USER_CLASS_KEY</B></PRE><DL><DD>the key within services's properties for user implementation classname (user.class)</DL><HR><A NAME="USER_CLASS_DEFAULT"><!-- --></A><H3>USER_CLASS_DEFAULT</H3><PRE>public static final java.lang.String <B>USER_CLASS_DEFAULT</B></PRE><DL><DD>the default implementation of User interface (org.apache.turbine.om.security.DBUser)</DL><HR><A NAME="USER_MANAGER_KEY"><!-- --></A><H3>USER_MANAGER_KEY</H3><PRE>public static final java.lang.String <B>USER_MANAGER_KEY</B></PRE><DL><DD>the key within services's properties for user implementation classname (user.manager)</DL><HR><A NAME="USER_MANAGER_DEFAULT"><!-- --></A><H3>USER_MANAGER_DEFAULT</H3><PRE>public static final java.lang.String <B>USER_MANAGER_DEFAULT</B></PRE><DL><DD>the default implementation of UserManager interface (org.apache.turbine.services.security.DBUserManager)</DL><HR><A NAME="SECURE_PASSWORDS_KEY"><!-- --></A><H3>SECURE_PASSWORDS_KEY</H3><PRE>public static final java.lang.String <B>SECURE_PASSWORDS_KEY</B></PRE><DL><DD>the key within services's properties for secure passwords flag (secure.passwords)</DL><HR><A NAME="SECURE_PASSWORDS_DEFAULT"><!-- --></A><H3>SECURE_PASSWORDS_DEFAULT</H3><PRE>public static final java.lang.String <B>SECURE_PASSWORDS_DEFAULT</B></PRE><DL><DD>the value of secure passwords flag (false)</DL><HR><A NAME="SECURE_PASSWORDS_ALGORITHM_KEY"><!-- --></A><H3>SECURE_PASSWORDS_ALGORITHM_KEY</H3><PRE>public static final java.lang.String <B>SECURE_PASSWORDS_ALGORITHM_KEY</B></PRE><DL><DD>the key within services's properties for secure passwords algorithm (secure.passwords.algorithm)</DL><HR><A NAME="SECURE_PASSWORDS_ALGORITHM_DEFAULT"><!-- --></A><H3>SECURE_PASSWORDS_ALGORITHM_DEFAULT</H3><PRE>public static final java.lang.String <B>SECURE_PASSWORDS_ALGORITHM_DEFAULT</B></PRE><DL><DD>the default algorithm for password encryption (SHA)</DL><!-- ========= CONSTRUCTOR DETAIL ======== -->

⌨️ 快捷键说明

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