org.seasar.tuigwaa.security
インタフェース SecurityService

既知の実装クラスの一覧:
SecurityServiceImpl

public interface SecurityService

作成者:
nishioka

フィールドの概要
static String ROLE_AUTHENTICATED
           
static String ROLE_UNAUTHENTICATED
           
 
メソッドの概要
 boolean hasPermission(String siteName, 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)
           
 

フィールドの詳細

ROLE_UNAUTHENTICATED

public static final String ROLE_UNAUTHENTICATED
関連項目:
定数フィールド値

ROLE_AUTHENTICATED

public static final String ROLE_AUTHENTICATED
関連項目:
定数フィールド値
メソッドの詳細

setPermissions

public void setPermissions(String siteName,
                           Action action,
                           String[] grantRoleNames,
                           String[] denyRoleNames)

hasPermission

public boolean hasPermission(String siteName,
                             Principal principal,
                             Action action)

hasPermission

public boolean hasPermission(String siteName,
                             String role,
                             Action action)

hasPermission

public boolean hasPermission(String siteName,
                             Action action)


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.