public class UserInfo extends Object
This class is a DTO which exposes an X500 Principal view. It is used to pass user information between application layers.
Verifies that all required tokens are present.
Required tokens:
| Constructor and Description |
|---|
UserInfo(Map<CNField,String> userDNFields)
The fields provided as a parameter to the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDN(Map<CNField,String> userFields)
Returns a formatted DN string
|
Map<CNField,String> |
getUserFields() |
X500Principal |
getX500Principal() |
String |
toString() |
void |
verify(Map<CNField,String> userFields)
Verifies that all required X500 Principal field values have been set on this object
|
public UserInfo(Map<CNField,String> userDNFields) throws CertException
userDNFields - CertExceptionpublic void verify(Map<CNField,String> userFields) throws CertException
userFields - CertExceptionpublic String getDN(Map<CNField,String> userFields)
userFields - public Map<CNField,String> getUserFields()
public X500Principal getX500Principal()
Copyright © 2019 Nuxeo. All rights reserved.