Class Configuration
- java.lang.Object
-
- com.adobe.aemfd.dermis.authentication.model.Configuration
-
- All Implemented Interfaces:
IConfiguration
- Direct Known Subclasses:
AzureConfiguration
,WSConfiguration
@Model(adaptables=org.apache.sling.api.resource.Resource.class, defaultInjectionStrategy=OPTIONAL) public class Configuration extends java.lang.Object implements IConfiguration
Implementation ofIConfiguration
-
-
Constructor Summary
Constructors Constructor Description Configuration(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticationConfig
getAuthentication()
Gets the authentication of this configuration.java.lang.String
getAuthenticationType()
Gets the authentication type of this configuration.java.lang.String
getDataSourceType()
Gets the connector type of this configuration.java.lang.String
getId()
Gets the id of the fdm configuration.java.lang.String
getName()
Gets the name of this configuration.java.lang.String
getPath()
Gets the path of this configuration.java.lang.String
getServiceEndPoint()
java.lang.String
getThumbnailPath()
Gets the thumbnail url of this configuration.java.lang.String
getTitle()
Gets the title of this configuration.java.lang.String
getUrl()
Gets the base url of this configuration.void
removeResource()
void
setAuthentication(IAuthenticationConfig authentication)
void
setAuthenticationType(java.lang.String authenticationType)
void
setDataSourceType(java.lang.String dataSourceType)
void
setId(java.lang.String id)
void
setName(java.lang.String name)
void
setServiceEndPoint(java.lang.String serviceEndPoint)
void
setThumbnailPath(java.lang.String thumbnailPath)
void
setTitle(java.lang.String title)
-
-
-
Constructor Detail
-
Configuration
public Configuration(Resource resource)
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:IConfiguration
Gets the id of the fdm configuration.- Specified by:
getId
in interfaceIConfiguration
- Returns:
- the id of the fdm configuration.
-
setId
public void setId(java.lang.String id)
-
getName
public java.lang.String getName()
Description copied from interface:IConfiguration
Gets the name of this configuration.- Specified by:
getName
in interfaceIConfiguration
- Returns:
- the name of this configuration.
-
setName
public void setName(java.lang.String name)
-
setTitle
public void setTitle(java.lang.String title)
-
getTitle
public java.lang.String getTitle()
Description copied from interface:IConfiguration
Gets the title of this configuration.- Specified by:
getTitle
in interfaceIConfiguration
- Returns:
- the title of this configuration.
-
getPath
public java.lang.String getPath()
Description copied from interface:IConfiguration
Gets the path of this configuration.- Specified by:
getPath
in interfaceIConfiguration
- Returns:
- the path of this configuration.
-
getUrl
public java.lang.String getUrl()
Description copied from interface:IConfiguration
Gets the base url of this configuration.- Specified by:
getUrl
in interfaceIConfiguration
- Returns:
- the baseUrl of this configuration.
-
getDataSourceType
public java.lang.String getDataSourceType()
Description copied from interface:IConfiguration
Gets the connector type of this configuration.- Specified by:
getDataSourceType
in interfaceIConfiguration
- Returns:
- the connector type of this configuration.
-
setDataSourceType
public void setDataSourceType(java.lang.String dataSourceType)
-
getAuthenticationType
public java.lang.String getAuthenticationType()
Description copied from interface:IConfiguration
Gets the authentication type of this configuration.- Specified by:
getAuthenticationType
in interfaceIConfiguration
- Returns:
- the authenticationType of this configuration.
-
getAuthentication
public IAuthenticationConfig getAuthentication()
Description copied from interface:IConfiguration
Gets the authentication of this configuration.- Specified by:
getAuthentication
in interfaceIConfiguration
- Returns:
- the authentication of this configuration.
-
setAuthenticationType
public void setAuthenticationType(java.lang.String authenticationType)
-
setAuthentication
public void setAuthentication(IAuthenticationConfig authentication)
-
getThumbnailPath
public java.lang.String getThumbnailPath()
Description copied from interface:IConfiguration
Gets the thumbnail url of this configuration.- Specified by:
getThumbnailPath
in interfaceIConfiguration
- Returns:
- the thumbnail url of this configuration.
-
setThumbnailPath
public void setThumbnailPath(java.lang.String thumbnailPath)
-
removeResource
@PostConstruct public void removeResource()
-
getServiceEndPoint
public java.lang.String getServiceEndPoint()
-
setServiceEndPoint
public void setServiceEndPoint(java.lang.String serviceEndPoint)
-
-