org.seasar.tuigwaa.security
クラス SecurityServiceImpl
java.lang.Object
   org.seasar.tuigwaa.security.SecurityServiceImpl
org.seasar.tuigwaa.security.SecurityServiceImpl
- すべての実装インタフェース: 
- SecurityService
- public class SecurityServiceImpl- extends Object- implements SecurityService
- 作成者:
- nishioka
 
 
 
| メソッドの概要 | 
|  String[] | getRoles(String username)
 | 
|  boolean | hasPermission(String siteName,
              Action action)
 | 
|  boolean | hasPermission(String siteName,
              javax.servlet.http.HttpServletRequest request,
              Action action)
 | 
|  boolean | hasPermission(String siteName,
              Principal principal,
              Action action)
 | 
|  boolean | hasPermission(String siteName,
              String role,
              Action action)
 | 
|  void | setPermissions(String siteName,
               Action action,
               String[] grantRoleNames,
               String[] denyRoleNames)
 | 
 
| クラス java.lang.Object から継承したメソッド | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SecurityServiceImpl
public SecurityServiceImpl(SiteService siteService,
                           ContentsStoreService slideService,
                           DirectoryService directoryService)
setPermissions
public void setPermissions(String siteName,
                           Action action,
                           String[] grantRoleNames,
                           String[] denyRoleNames)
- 
- 定義:
- インタフェース SecurityService内のsetPermissions
 
- 
 
hasPermission
public boolean hasPermission(String siteName,
                             Principal principal,
                             Action action)
- 
- 定義:
- インタフェース SecurityService内のhasPermission
 
- 
 
hasPermission
public boolean hasPermission(String siteName,
                             javax.servlet.http.HttpServletRequest request,
                             Action action)
- 
 
- 
 
hasPermission
public boolean hasPermission(String siteName,
                             String role,
                             Action action)
- 
- 定義:
- インタフェース SecurityService内のhasPermission
 
- 
 
hasPermission
public boolean hasPermission(String siteName,
                             Action action)
- 
- 定義:
- インタフェース SecurityService内のhasPermission
 
- 
 
getRoles
public String[] getRoles(String username)
- 
 
- 
 
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.