Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
apiLoginPassword |
static java.lang.String |
apiLoginPasswordProperty
API login password
|
protected java.lang.String |
apiLoginUserName |
static java.lang.String |
apiLoginUserNameProperty
API login user name
|
protected java.lang.String |
loginPassword |
static java.lang.String |
loginPasswordProperty
UI login password
|
protected java.lang.String |
loginUserName |
static java.lang.String |
loginUserNameProperty
UI login user name
|
CAPABILITY_EDIT_CONNECTIONS, CAPABILITY_EDIT_JOBS, CAPABILITY_RUN_JOBS, CAPABILITY_VIEW_CONNECTIONS, CAPABILITY_VIEW_JOBS, CAPABILITY_VIEW_REPORTS
Constructor and Description |
---|
DefaultAuthenticator(IThreadContext threadContext)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkCapability(java.lang.String userId,
int capability)
Check user capability
|
boolean |
verifyAPILogin(java.lang.String userId,
java.lang.String password)
Verify API login
|
boolean |
verifyUILogin(java.lang.String userId,
java.lang.String password)
Verify UI login
|
public static final java.lang.String loginUserNameProperty
public static final java.lang.String loginPasswordProperty
public static final java.lang.String apiLoginUserNameProperty
public static final java.lang.String apiLoginPasswordProperty
protected final java.lang.String loginUserName
protected final java.lang.String loginPassword
protected final java.lang.String apiLoginUserName
protected final java.lang.String apiLoginPassword
public DefaultAuthenticator(IThreadContext threadContext) throws ManifoldCFException
ManifoldCFException
public boolean verifyUILogin(java.lang.String userId, java.lang.String password) throws ManifoldCFException
verifyUILogin
in interface IAuth
ManifoldCFException
public boolean verifyAPILogin(java.lang.String userId, java.lang.String password) throws ManifoldCFException
verifyAPILogin
in interface IAuth
ManifoldCFException
public boolean checkCapability(java.lang.String userId, int capability) throws ManifoldCFException
checkCapability
in interface IAuth
ManifoldCFException