| org.sakaiproject.authz.api.SecurityAdvisor
All known Subclasses: org.theospi.portfolio.security.impl.AllowAllSecurityAdvisor, org.theospi.portfolio.security.AllowMapSecurityAdvisor,
SecurityAdvisor | public interface SecurityAdvisor (Code) | |
SecurityAdvisor is a stackable policy process that is given a chance to determine if a security question can be answered, over the logic of the SecurityService component.
|
Inner Class :public class SecurityAdvice | |
Method Summary | |
SecurityAdvice | isAllowed(String userId, String function, String reference) Can the current session user perform the requested function on the referenced Entity?
Parameters: userId - The user id. Parameters: function - The lock id string. Parameters: reference - The resource reference string. |
isAllowed | SecurityAdvice isAllowed(String userId, String function, String reference)(Code) | | Can the current session user perform the requested function on the referenced Entity?
Parameters: userId - The user id. Parameters: function - The lock id string. Parameters: reference - The resource reference string. ALLOWED or NOT_ALLOWED if the advisor can answer that the user can or cannot, or PASS if the advisor cannot answer. |
|
|