Class OpenIDConnectProviderDescriptor

    • Field Detail

      • DEFAULT_USER_RESOLVER_CLASS

        public static final Class<? extends UserResolver> DEFAULT_USER_RESOLVER_CLASS
      • DEFAULT_REDIRECT_URI_RESOLVER_CLASS

        public static final Class<? extends RedirectUriResolver> DEFAULT_REDIRECT_URI_RESOLVER_CLASS
      • DEFAULT_USER_INFO_CLASS

        public static final Class<? extends OpenIDUserInfo> DEFAULT_USER_INFO_CLASS
      • enabled

        protected boolean enabled
      • tokenServerURL

        protected String tokenServerURL
      • authorizationServerURL

        protected String authorizationServerURL
      • userInfoURL

        protected String userInfoURL
      • accessTokenKey

        protected String accessTokenKey
      • clientId

        protected String clientId
      • clientSecret

        protected String clientSecret
      • scopes

        protected String[] scopes
      • label

        protected String label
      • description

        protected String description
      • userMapper

        protected String userMapper
      • authenticationMethod

        protected String authenticationMethod
        Since:
        11.1
    • Constructor Detail

      • OpenIDConnectProviderDescriptor

        public OpenIDConnectProviderDescriptor()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • getName

        public String getName()
      • getTokenServerURL

        public String getTokenServerURL()
      • getAuthorizationServerURL

        public String getAuthorizationServerURL()
      • getClientId

        public String getClientId()
      • getClientSecret

        public String getClientSecret()
      • getScopes

        public String[] getScopes()
      • getUserInfoURL

        public String getUserInfoURL()
      • getAccessTokenKey

        public String getAccessTokenKey()
      • getIcon

        public String getIcon()
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getLabel

        public String getLabel()
      • getDescription

        public String getDescription()
      • getUserMapper

        public String getUserMapper()
      • getAuthenticationMethod

        public String getAuthenticationMethod()
        Since:
        11.1
      • merge

        public Descriptor merge​(Descriptor o)
        Description copied from interface: Descriptor
        Returns a descriptor representing other merged into this

        Default implementation returns other.

        Specified by:
        merge in interface Descriptor
        Returns:
        the merged descriptor