Package org.xipki.ca.gateway.dummy
Class DummyRequestorAuthenticator
- java.lang.Object
-
- org.xipki.ca.gateway.dummy.DummyRequestorAuthenticator
-
- All Implemented Interfaces:
RequestorAuthenticator
public class DummyRequestorAuthenticator extends Object implements RequestorAuthenticator
- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description DummyRequestorAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Requestor.CertRequestorgetCertRequestor(org.xipki.security.X509Cert cert)Return the certificate-based requestor for given client certificate.Requestor.PasswordRequestorgetPasswordRequestorByUser(String user)Return the password-based requestor for given user.Requestor.SimplePasswordRequestorgetSimplePasswordRequestorByKeyId(byte[] keyId)Return the password-based requestor for given keyID.
-
-
-
Method Detail
-
getSimplePasswordRequestorByKeyId
public Requestor.SimplePasswordRequestor getSimplePasswordRequestorByKeyId(byte[] keyId)
Description copied from interface:RequestorAuthenticatorReturn the password-based requestor for given keyID. Used for CMP gateway.- Specified by:
getSimplePasswordRequestorByKeyIdin interfaceRequestorAuthenticator- Parameters:
keyId- the key ID- Returns:
- the requestor.
-
getPasswordRequestorByUser
public Requestor.PasswordRequestor getPasswordRequestorByUser(String user)
Description copied from interface:RequestorAuthenticatorReturn the password-based requestor for given user. Used for EST, REST and SCEP gateway.- Specified by:
getPasswordRequestorByUserin interfaceRequestorAuthenticator- Parameters:
user- the user- Returns:
- the requestor.
-
getCertRequestor
public Requestor.CertRequestor getCertRequestor(org.xipki.security.X509Cert cert)
Description copied from interface:RequestorAuthenticatorReturn the certificate-based requestor for given client certificate. Used for CMP, EST, REST and SCEP gateway.- Specified by:
getCertRequestorin interfaceRequestorAuthenticator- Parameters:
cert- the client certificate- Returns:
- the requestor.
-
-