Class AccessControlModelImpl
- java.lang.Object
-
- com.sun.identity.console.base.model.AccessControlModelImpl
-
- All Implemented Interfaces:
AccessControlModel
public class AccessControlModelImpl extends Object implements AccessControlModel
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.console.base.model.AccessControlModel
ANY_SERVICE
-
-
Constructor Summary
Constructors Constructor Description AccessControlModelImpl(SSOToken ssoToken)AccessControlModelImpl(jakarta.servlet.http.HttpServletRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanView(Set permissions, String accessLevel, String realmName, boolean delegateUI)Returns true if a page can be viewed.
-
-
-
Constructor Detail
-
AccessControlModelImpl
public AccessControlModelImpl(SSOToken ssoToken)
-
AccessControlModelImpl
public AccessControlModelImpl(jakarta.servlet.http.HttpServletRequest req)
-
-
Method Detail
-
canView
public boolean canView(Set permissions, String accessLevel, String realmName, boolean delegateUI)
Returns true if a page can be viewed.- Specified by:
canViewin interfaceAccessControlModel- Parameters:
permissions- Permissions associated to the page.accessLevel- Level of access i.e. either global or realm level.realmName- Currently view realm Name.delegateUI- true if this is a delegation administration page.- Returns:
- true if a page can be viewed.
-
-