public class AuthCustom extends AuthGeneric
Constructor and Description |
---|
AuthCustom(java.lang.String pServer,
java.lang.String pUser,
java.lang.String pPassword,
java.lang.String pParam)
Constructor of Authenticator controller
|
AuthCustom(java.lang.String pServer,
java.lang.String pUser,
java.lang.String pPassword,
java.lang.String pParam,
DriverGeneric Drv)
Constructor of Authenticator controller
|
Modifier and Type | Method and Description |
---|---|
void |
Authenticate(java.lang.String User,
java.lang.String Pass)
Authenticates calling to a custom authenticator
|
getProp, setProp, UpdatePass
public AuthCustom(java.lang.String pServer, java.lang.String pUser, java.lang.String pPassword, java.lang.String pParam)
pServer
- URL/UNC reference to the systemt of authentication (LDAP, Database, program)pUser
- User needed for accesing to the system (not the OPD user to authenticate) (optional)pPassword
- Password need for accesing to the system (optional)pParam
- Additional params (optional)public AuthCustom(java.lang.String pServer, java.lang.String pUser, java.lang.String pPassword, java.lang.String pParam, DriverGeneric Drv) throws PDExceptionFunc
pServer
- URL/UNC reference to the systemt of authentication (LDAP, Database, program)pUser
- User needed for accesing to the system (not the OPD user to authenticate) (optional)pPassword
- Password need for accesing to the system (optional)pParam
- Additional params that include PDId of authenticator and classDrv
- OpenProdoc session for downloading the custom authenticator jarPDExceptionFunc
- in any errorpublic void Authenticate(java.lang.String User, java.lang.String Pass) throws PDException
Authenticate
in class AuthGeneric
User
- user to authenticatePass
- password of user to authenticatePDException
- if the user/password is wrong or in any technical error (as no network, etc)