Class AuthnSvcService

  • All Implemented Interfaces:
    ConfigurationListener

    public class AuthnSvcService
    extends Object
    implements ConfigurationListener
    The AuthnSvcService class stores the current values of all the AttributeSchema defined in Authentication service schema. It updates its store by listening to Authentication Service ServiceSchema events.
    • Method Detail

      • getMechanismHandler

        public static MechanismHandler getMechanismHandler​(String mechanism)
        Returns MechanismHandler for specified mechanism.
        Parameters:
        mechanism - mechanism name
        Returns:
        MechanismHandler for specified mechanism
      • getPlainMechanismAuthenticationModule

        public static String getPlainMechanismAuthenticationModule()
        Returns authentication module for 'PLAIN' mechanism handler.
        Returns:
        authentication module for 'PLAIN' mechanism handler
      • getCramMD5MechanismAuthenticationModule

        public static String getCramMD5MechanismAuthenticationModule()
        Returns authentication module for 'CRAM-MD5' mechanism handler.
        Returns:
        authentication module for 'CRAM-MD5' mechanism handler
      • configChanged

        public void configChanged​(ConfigurationActionEvent e)
        This method will be invoked when a component's configuration data has been changed. The parameters componentName, realm and configName denotes the component name, organization and configuration instance name that are changed respectively.
        Specified by:
        configChanged in interface ConfigurationListener
        Parameters:
        e - Configuration action event, like ADDED, DELETED, MODIFIED etc.