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

📄 turbinesecurity.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forcibly sets new password for an User.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/AccessControlList.html">AccessControlList</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getACL(org.apache.turbine.om.security.User)">getACL</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;Constructs an AccessControlList for a specific user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/GroupSet.html">GroupSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getAllGroups()">getAllGroups</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all groups defined in the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/PermissionSet.html">PermissionSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getAllPermissions()">getAllPermissions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all permissions defined in the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/RoleSet.html">RoleSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getAllRoles()">getAllRoles</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all roles defined in the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getAnonymousUser()">getAnonymousUser</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an User object to represent an anonymous user of the application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getAuthenticatedUser(java.lang.String, java.lang.String)">getAuthenticatedUser</A></B>(java.lang.String&nbsp;username,                     java.lang.String&nbsp;password)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authenticates an user, and constructs an User object to represent him/her.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getGlobalGroup()">getGlobalGroup</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a reference to the Group object that represents the <a name="global">global group</a>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getGroup(java.lang.String)">getGroup</A></B>(java.lang.String&nbsp;groupName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/GroupSet.html">GroupSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getGroups(org.apache.torque.util.Criteria)">getGroups</A></B>(org.apache.torque.util.Criteria&nbsp;criteria)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a set of Groups that meet the specified Criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getNewGroup(java.lang.String)">getNewGroup</A></B>(java.lang.String&nbsp;groupName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getNewPermission(java.lang.String)">getNewPermission</A></B>(java.lang.String&nbsp;permissionName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Permission.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getNewRole(java.lang.String)">getNewRole</A></B>(java.lang.String&nbsp;roleName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Permission.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getPermission(java.lang.String)">getPermission</A></B>(java.lang.String&nbsp;permissionName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Permission.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/PermissionSet.html">PermissionSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getPermissions(org.apache.torque.util.Criteria)">getPermissions</A></B>(org.apache.torque.util.Criteria&nbsp;criteria)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a set of Permissions that meet the specified Criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/PermissionSet.html">PermissionSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getPermissions(org.apache.turbine.om.security.Role)">getPermissions</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;Retrieves all permissions associated with a role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getRole(java.lang.String)">getRole</A></B>(java.lang.String&nbsp;roleName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a named Role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/RoleSet.html">RoleSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getRoles(org.apache.torque.util.Criteria)">getRoles</A></B>(org.apache.torque.util.Criteria&nbsp;criteria)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a set of Roles that meet the specified Criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/services/security/SecurityService.html">SecurityService</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getService()">getService</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves an implementation of SecurityService, base on the settings in TurbineResources.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getUser(java.lang.String)">getUser</A></B>(java.lang.String&nbsp;username)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an User object to represent a registered user of the application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getUserClass()">getUserClass</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a Class object representing the system's chosen implementation of of User interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getUserInstance()">getUserInstance</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a blank User object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../org/apache/turbine/om/security/User.html">User</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#getUsers(org.apache.torque.util.Criteria)">getUsers</A></B>(org.apache.torque.util.Criteria&nbsp;criteria)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a set of users that meet the specified criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#grant(org.apache.turbine.om.security.Role, org.apache.turbine.om.security.Permission)">grant</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;Grants a Role a Permission</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#grant(org.apache.turbine.om.security.User, org.apache.turbine.om.security.Group, org.apache.turbine.om.security.Role)">grant</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;Grant an User a Role in a Group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/security/TurbineSecurity.html#removeGroup(org.apache.turbine.om.security.Group)">removeGroup</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;Removes a Group from the system.</TD></TR>

⌨️ 快捷键说明

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