Package org.openiam.esb.am.groovy
Class DefaultCertToIdentityConverter
- java.lang.Object
-
- org.openiam.esb.am.groovy.DefaultCertToIdentityConverter
-
public class DefaultCertToIdentityConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected X509Certificate
clientCert
protected static org.apache.commons.logging.Log
LOG
protected LoginDataService
loginDataWebService
protected String
regex
protected UserDataService
userManager
-
Constructor Summary
Constructors Constructor Description DefaultCertToIdentityConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
Login
resolve()
Returns the Login associated with the X509Certificatevoid
setCertficiate(X509Certificate cert)
void
setClientDNRegex(String regex)
-
-
-
Field Detail
-
LOG
protected static final org.apache.commons.logging.Log LOG
-
clientCert
protected X509Certificate clientCert
-
regex
protected String regex
-
loginDataWebService
@Autowired protected LoginDataService loginDataWebService
-
userManager
@Autowired @Qualifier("userManager") protected UserDataService userManager
-
-
Method Detail
-
setCertficiate
public final void setCertficiate(X509Certificate cert)
-
init
public final void init()
-
setClientDNRegex
public void setClientDNRegex(String regex)
-
resolve
public Login resolve() throws BasicDataServiceException
Returns the Login associated with the X509Certificate- Returns:
- Throws:
BasicDataServiceException
-
-