Class FSIDPAuthenticationContextInfo

    • Constructor Detail

      • FSIDPAuthenticationContextInfo

        public FSIDPAuthenticationContextInfo()
        Default constructor.
      • FSIDPAuthenticationContextInfo

        public FSIDPAuthenticationContextInfo​(String infoString)
                                       throws FSException
        Constructs a new object.
        Parameters:
        infoString - a string that contains one idp authentication context mapping
        Throws:
        FSException
      • FSIDPAuthenticationContextInfo

        public FSIDPAuthenticationContextInfo​(String authenticationContext,
                                              String moduleIndicatorKey,
                                              String moduleIndicatorValue,
                                              int level)
                                       throws FSException
        Creates new FSIDPAuthenticationContextInfo instance.
        Parameters:
        authenticationContext - Authentication Context.
        moduleIndicatorKey - module indicator key.
        moduleIndicatorValue - module indicator value.
        level - Level of the auth module
        Throws:
        FSException - if authenticationContext is blank.
      • FSIDPAuthenticationContextInfo

        public FSIDPAuthenticationContextInfo​(String authenticationContext,
                                              String moduleIndicatorKey,
                                              String moduleIndicatorValue,
                                              String level)
                                       throws FSException
        Creates new FSIDPAuthenticationContextInfo instance.
        Parameters:
        authenticationContext - Authentication Context.
        moduleIndicatorKey - module indicator key.
        moduleIndicatorValue - module indicator value.
        level - Level
        Throws:
        FSException - if authenticationContext is blank, or cannot obtain an int from level.
    • Method Detail

      • getAuthenticationContext

        public String getAuthenticationContext()
        Returns authentication context.
        Returns:
        authentication context.
      • setAuthenticationContext

        public void setAuthenticationContext​(String authenticationContext)
                                      throws FSException
        Sets authentication context.
        Parameters:
        authenticationContext - authentication context.
        Throws:
        FSException - if authenticationContext is blank.
      • getLevel

        public int getLevel()
        Returns level.
        Returns:
        level.
      • setLevel

        public void setLevel​(String level)
                      throws FSException
        Sets level.
        Parameters:
        level - Strength level.
        Throws:
        FSException - if level is not an integer.
      • setLevel

        public void setLevel​(int level)
        Sets level.
        Parameters:
        level - level of the auth module.
      • getModuleIndicatorKey

        public String getModuleIndicatorKey()
        Returns module indicator key.
        Returns:
        module indicator key.
      • setModuleIndicatorKey

        public void setModuleIndicatorKey​(String moduleIndicatorKey)
        Sets module indicator key.
        Parameters:
        moduleIndicatorKey - module indicator key.
      • getModuleIndicatorValue

        public String getModuleIndicatorValue()
        Returns module indicator.
        Returns:
        module indicator of the module that implements this Authentication Context.
      • setModuleIndicatorValue

        public void setModuleIndicatorValue​(String moduleIndicatorValue)
        Sets module indicator value.
        Parameters:
        moduleIndicatorValue - module indicator.