Class UserInfo


  • public class UserInfo
    extends Object
    Carries user information encoded inside an x509Name.

    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:

    • user identifier (commonName field)
    • user X500Principal: commonName CN, organizationalUnitName OU, organizationName O, countryName C
    • user email (emailAddress)
    Author:
    Wojciech Sulejman