public class Authorizer extends Object implements AuthorizerI
Modifier and Type | Method and Description |
---|---|
void |
authorize(String action,
GenericWrapperElement e,
UserI user) |
void |
authorize(String action,
XFTItem item,
UserI user) |
void |
authorizeDelete(GenericWrapperElement e,
UserI user) |
void |
authorizeDelete(XFTItem e,
UserI user) |
void |
authorizeRead(GenericWrapperElement e,
UserI user) |
void |
authorizeRead(XFTItem e,
UserI user) |
void |
authorizeSave(GenericWrapperElement e,
UserI user) |
void |
authorizeSave(XFTItem e,
UserI user) |
static AuthorizerI |
getInstance() |
static void |
throwException(Exception e) |
public static AuthorizerI getInstance()
public void authorizeRead(XFTItem e, UserI user) throws Exception
authorizeRead
in interface AuthorizerI
Exception
public void authorizeSave(XFTItem e, UserI user) throws Exception
authorizeSave
in interface AuthorizerI
Exception
public void authorize(String action, GenericWrapperElement e, UserI user) throws Exception
Exception
public void authorize(String action, XFTItem item, UserI user) throws Exception
Exception
public void authorizeDelete(XFTItem e, UserI user) throws Exception
authorizeDelete
in interface AuthorizerI
Exception
public void authorizeRead(GenericWrapperElement e, UserI user) throws Exception
authorizeRead
in interface AuthorizerI
Exception
public void authorizeSave(GenericWrapperElement e, UserI user) throws Exception
authorizeSave
in interface AuthorizerI
Exception
public void authorizeDelete(GenericWrapperElement e, UserI user) throws Exception
authorizeDelete
in interface AuthorizerI
Exception
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.