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

📄 role.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A> in <A HREF="../../../../../../org/apache/turbine/services/security/package-summary.html">org.apache.turbine.services.security</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../org/apache/turbine/services/security/package-summary.html">org.apache.turbine.services.security</A> that return <A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></FONT></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>TurbineSecurity.</B><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/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><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>&nbsp;<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.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 new Role.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.html#getRole(java.lang.String)">getRole</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a Role object with specified name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.html#addRole(org.apache.turbine.om.security.Role)">addRole</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;Creates a new role with specified attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>BaseSecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/BaseSecurityService.html#getRole(java.lang.String)">getRole</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a Role object with specified name.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../org/apache/turbine/services/security/package-summary.html">org.apache.turbine.services.security</A> with parameters of type <A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></FONT></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>TurbineSecurity.</B><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>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><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>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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>static&nbsp;<A HREF="../../../../../../org/apache/turbine/util/security/PermissionSet.html">PermissionSet</A></CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><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;void</CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.html#addRole(org.apache.turbine.om.security.Role)">addRole</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;Creates a new role with specified attributes.</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>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>TurbineSecurity.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/TurbineSecurity.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;<A HREF="../../../../../../org/apache/turbine/util/security/PermissionSet.html">PermissionSet</A></CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.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>&nbsp;void</CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.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>&nbsp;void</CODE></FONT></TD><TD><CODE><B>SecurityService.</B><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>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.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>&nbsp;void</CODE></FONT></TD><TD><CODE><B>SecurityService.</B><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>SecurityService.</B><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>SecurityService.</B><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;<A HREF="../../../../../../org/apache/turbine/om/security/Role.html">Role</A></CODE></FONT></TD><TD><CODE><B>SecurityService.</B><B><A HREF="../../../../../../org/apache/turbine/services/security/SecurityService.html#addRole(org.apache.turbine.om.security.Role)">addRole</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;Creates a new role with specified 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>SecurityService.</B><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>

⌨️ 快捷键说明

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