Class IdmService

  • All Implemented Interfaces:
    IdentityManagement, org.glassfish.hk2.api.PostConstruct

    @Service(name="jks-based")
    public class IdmService
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, IdentityManagement
    An implementation of the @link {IdentityManagement} that manages the password needs of the server. This implementation consults the Java KeyStore and assumes that the stores are available in server's configuration area.
    Author:
    केदार ([email protected])
    • Constructor Detail

      • IdmService

        public IdmService()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • getMasterPassword

        public char[] getMasterPassword()
        Description copied from interface: IdentityManagement
        Returns the master password as a character array. The master password is what unlocks the secure store where primary keys (and trusted certificates) are stored.
        Specified by:
        getMasterPassword in interface IdentityManagement
        Returns:
        a character array that represents the master password.