Whether the player can access this server. It will only return false when the player has no permission and this server is restricted.
@param sender the player to check access for
@return whether access is granted to this server
Determines whether the subject of the current context is granted access to the given workspace. Note that an implementation is free to test for the existance of a workspace with the specified name. In this case the expected return value is false, if no such workspace exists.
@param workspaceName name of workspace
@return true if the subject of the current context isgranted access to the given workspace; otherwise false.
@throws javax.jcr.RepositoryException if an error occurs.
Tells if the user is allowed to access the PathElement with the specified access mode. If no information can be found in the current node, the decision is delegated to the parent. If the root is reached and it has no security definition, access will be granted. Otherwise, the first path element with a role list for the specified access mode will return true if the user has a {@link GrantedAuthority} matching one of the specifiedroles, false otherwise
@param user
@param mode
@return
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.