Class WindowsDesktopSSO

    • Constructor Detail

      • WindowsDesktopSSO

        public WindowsDesktopSSO()
        Constructor
    • Method Detail

      • init

        public void init​(Subject subject,
                         Map sharedState,
                         Map options)
        Initialize parameters.
        Specified by:
        init in class AMLoginModule
        Parameters:
        subject - the subject to be authenticated
        sharedState - the state shared between authentication modules
        options - the configuration options for this module
      • getPrincipal

        public Principal getPrincipal()
        Returns principal of the authenticated user.
        Specified by:
        getPrincipal in class AMLoginModule
        Returns:
        Principal of the authenticated user.
      • process

        public int process​(Callback[] callbacks,
                           int state)
                    throws AuthLoginException
        Processes the authentication request.
        Specified by:
        process in class AMLoginModule
        Parameters:
        callbacks - the callbacks presented to this module for the request
        state - the current authentication state
        Returns:
        -1 as succeeded; 0 as failed.
        Throws:
        AuthLoginException - upon any failure.
      • createUpdateKrb5ConfigFile

        protected void createUpdateKrb5ConfigFile()
      • getUpdatedKrb5ConfigLines

        protected List<String> getUpdatedKrb5ConfigLines​(List<String> lines)