Class BaseAuthenticationHelper

  • Direct Known Subclasses:
    AuthenticationHelper

    public class BaseAuthenticationHelper
    extends java.lang.Object
    • Constructor Detail

      • BaseAuthenticationHelper

        public BaseAuthenticationHelper()
    • Method Detail

      • setupTrustInformation

        public static void setupTrustInformation​(WebIServerSession session,
                                                 ContainerServices ctnSvrc,
                                                 java.lang.String pluginTypeEnum,
                                                 java.lang.String trustTokenFilePath)
      • getHeaderValue

        public static java.lang.String getHeaderValue​(java.lang.String key,
                                                      java.lang.String encodeFormat,
                                                      ContainerServices ctnSvrc)
      • getLDAPDistinguishedName

        public static java.lang.String getLDAPDistinguishedName​(java.util.ResourceBundle props,
                                                                java.lang.String encodeFormat,
                                                                ContainerServices ctnSvrc)
      • getSecurityPluginProperties

        public static java.util.ResourceBundle getSecurityPluginProperties​(java.lang.String pluginTypeEnum)
      • getSecurityPluginProperties

        public static java.util.ResourceBundle getSecurityPluginProperties​(java.lang.String pluginTypeEnum,
                                                                           java.lang.String resourceFolder)
      • getGroupsXML

        public static java.lang.String getGroupsXML​(java.util.ResourceBundle securityProps,
                                                    java.lang.String encodeFormat,
                                                    java.lang.String pluginTypeEnum,
                                                    ContainerServices ctnSvrc)
        Gets the group XML
        Returns:
        the group XML
      • getGroupsXML

        public static java.lang.String getGroupsXML​(java.util.List<java.lang.String> groupNames)
      • getGroupsXML

        public static java.lang.String getGroupsXML​(java.util.ResourceBundle securityProps,
                                                    java.lang.String pluginTypeEnum,
                                                    ContainerServices ctnSvrc)
      • getEncodeFormat

        public static java.lang.String getEncodeFormat​(java.util.ResourceBundle securityPluginProperties)