Interface IAuth
-
- All Known Implementing Classes:
DefaultAuthenticator,LdapAuthenticator
public interface IAuthAn instance of this interface describes how to authorize various components of the ManifoldCF system.
-
-
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 booleancheckCapability(java.lang.String userId, int capability)Check user capabilitybooleanverifyAPILogin(java.lang.String userId, java.lang.String password)Verify API loginbooleanverifyUILogin(java.lang.String userId, java.lang.String password)Verify UI login
-
-
-
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
-
verifyUILogin
boolean verifyUILogin(java.lang.String userId, java.lang.String password) throws ManifoldCFExceptionVerify UI login- Throws:
ManifoldCFException
-
verifyAPILogin
boolean verifyAPILogin(java.lang.String userId, java.lang.String password) throws ManifoldCFExceptionVerify API login- Throws:
ManifoldCFException
-
checkCapability
boolean checkCapability(java.lang.String userId, int capability) throws ManifoldCFExceptionCheck user capability- Throws:
ManifoldCFException
-
-