Interface IAuthorizer
-
- All Known Implementing Classes:
AdminProfile,APIProfile
public interface IAuthorizerAn instance of this interface authorizes a user to perform various capabilities within MCF, within the local thread scope.
-
-
Field Summary
Fields Modifier and Type Field Description static intCAPABILITY_EDIT_CONNECTIONSEdit connectionsstatic intCAPABILITY_EDIT_JOBSEdit jobsstatic intCAPABILITY_RUN_JOBSRun jobsstatic intCAPABILITY_VIEW_CONNECTIONSView connectionsstatic intCAPABILITY_VIEW_JOBSView jobsstatic intCAPABILITY_VIEW_REPORTSView reports
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckAllowed(IThreadContext threadContext, int capability)Check user capability
-
-
-
Field Detail
-
CAPABILITY_VIEW_CONNECTIONS
static final int CAPABILITY_VIEW_CONNECTIONS
View connections- See Also:
- Constant Field Values
-
CAPABILITY_VIEW_JOBS
static final int CAPABILITY_VIEW_JOBS
View jobs- See Also:
- Constant Field Values
-
CAPABILITY_VIEW_REPORTS
static final int CAPABILITY_VIEW_REPORTS
View reports- See Also:
- Constant Field Values
-
CAPABILITY_EDIT_CONNECTIONS
static final int CAPABILITY_EDIT_CONNECTIONS
Edit connections- See Also:
- Constant Field Values
-
CAPABILITY_EDIT_JOBS
static final int CAPABILITY_EDIT_JOBS
Edit jobs- See Also:
- Constant Field Values
-
CAPABILITY_RUN_JOBS
static final int CAPABILITY_RUN_JOBS
Run jobs- See Also:
- Constant Field Values
-
-
Method Detail
-
checkAllowed
boolean checkAllowed(IThreadContext threadContext, int capability) throws ManifoldCFException
Check user capability- Throws:
ManifoldCFException
-
-