Class OpenIDConnectProviderDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderDescriptor
-
- All Implemented Interfaces:
Descriptor
public class OpenIDConnectProviderDescriptor extends Object implements Descriptor
-
-
Field Summary
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description OpenIDConnectProviderDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessTokenKey()StringgetAuthenticationMethod()StringgetAuthorizationServerURL()StringgetClientId()StringgetClientSecret()StringgetDescription()StringgetIcon()StringgetId()The descriptor id, descriptors with same id are merged.StringgetLabel()StringgetName()Class<? extends RedirectUriResolver>getRedirectUriResolver()String[]getScopes()StringgetTokenServerURL()Class<? extends OpenIDUserInfo>getUserInfoClass()StringgetUserInfoURL()StringgetUserMapper()Class<? extends UserResolver>getUserResolverClass()booleanisEnabled()Descriptormerge(Descriptor o)Returns a descriptor representingothermerged intothisvoidsetEnabled(boolean enabled)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
-
-
-
Field Detail
-
DEFAULT_ACCESS_TOKEN_KEY
public static final String DEFAULT_ACCESS_TOKEN_KEY
- See Also:
- Constant Field Values
-
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
-
URL_AUTHENTICATION_METHOD
public static final String URL_AUTHENTICATION_METHOD
- Since:
- 11.1
- See Also:
- Constant Field Values
-
BEARER_AUTHENTICATION_METHOD
public static final String BEARER_AUTHENTICATION_METHOD
- Since:
- 11.1
- See Also:
- Constant Field Values
-
DEFAULT_AUTHENTICATION_METHOD
public static final String DEFAULT_AUTHENTICATION_METHOD
- Since:
- 11.1
- See Also:
- Constant Field Values
-
enabled
protected boolean enabled
-
name
protected String name
-
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
-
icon
protected String icon
-
label
protected String label
-
description
protected String description
-
userResolverClass
protected Class<? extends UserResolver> userResolverClass
-
userMapper
protected String userMapper
-
redirectUriResolver
protected Class<? extends RedirectUriResolver> redirectUriResolver
-
userInfoClass
protected Class<? extends OpenIDUserInfo> userInfoClass
-
authenticationMethod
protected String authenticationMethod
- Since:
- 11.1
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:DescriptorThe 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:
getIdin interfaceDescriptor
-
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()
-
getUserResolverClass
public Class<? extends UserResolver> getUserResolverClass()
-
getRedirectUriResolver
public Class<? extends RedirectUriResolver> getRedirectUriResolver()
-
getUserInfoClass
public Class<? extends OpenIDUserInfo> getUserInfoClass()
-
getAuthenticationMethod
public String getAuthenticationMethod()
- Since:
- 11.1
-
merge
public Descriptor merge(Descriptor o)
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-
-