Class AliasWrapper
- java.lang.Object
 - 
- org.nuxeo.ecm.platform.signature.api.user.AliasWrapper
 
 
- 
public class AliasWrapper extends Object
Represents a keystore alias.Provides methods for binding a keystore alias name with userID and alias type.
- Author:
 - Wojciech Sulejman
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AliasWrapper(String userName)Public constructor for the AliasWrapper. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId(AliasType type)Returns a unique identifier for the keystore alias.StringgetUserName()Provides the user name associated with the alias for generic checking of alias groups (an alias group would share the name, not the id). 
 - 
 
- 
- 
Constructor Detail
- 
AliasWrapper
public AliasWrapper(String userName)
Public constructor for the AliasWrapper. Used to associate a user name with an AliasWrapper object. The userName constitutes the first part of the AliasWrapper's identity. The second part of the identity is based on an AliasType provided as a parameter. E.g., for a user identified by string "jdoe" and using a type "cert", the produced alias string would be "jdoecert". 
 - 
 
 -