| org.theospi.portfolio.security.AuthorizationFacade
All known Subclasses: org.theospi.portfolio.security.app.AuthorizationFacadeImpl, org.theospi.portfolio.security.impl.simple.SimpleAuthorizationFacade,
AuthorizationFacade | public interface AuthorizationFacade (Code) | | Created by IntelliJ IDEA.
User: jbush
Date: Apr 29, 2004
Time: 11:28:09 AM
To change this template use File | Settings | File Templates.
|
Method Summary | |
public void | checkPermission(String function, Id id) | public void | checkPermission(Agent agent, String function, Id id) | public void | createAuthorization(Agent agent, String function, Id id) | public void | deleteAuthorization(Agent agent, String function, Id id) | public void | deleteAuthorizations(Id qualifier) | public List | getAuthorizations(Agent agent, String function, Id id) | public boolean | isAuthorized(String function, Id id) Checks if the current user is authorized to do the function with the given id. | public boolean | isAuthorized(Agent agent, String function, Id id) | public void | pushAuthzGroups(Collection authzGroups) | void | pushAuthzGroups(String siteId) |
createAuthorization | public void createAuthorization(Agent agent, String function, Id id)(Code) | | Parameters: agent - Parameters: function - Parameters: id - |
deleteAuthorizations | public void deleteAuthorizations(Id qualifier)(Code) | | |
getAuthorizations | public List getAuthorizations(Agent agent, String function, Id id)(Code) | | at least one param must be non-null
Parameters: agent - Parameters: function - Parameters: id - |
isAuthorized | public boolean isAuthorized(String function, Id id)(Code) | | Checks if the current user is authorized to do the function with the given id.
Parameters: function - Parameters: id - boolean if the user is authorized |
isAuthorized | public boolean isAuthorized(Agent agent, String function, Id id)(Code) | | Checks if the agent is authorized to do the function with the given id
Parameters: agent - Parameters: function - Parameters: id - |
|
|