@ThingworxExtensionApiClass(since={6,6}) public abstract class Authenticator extends ServiceProviderEntity implements IAuthenticator
BASIC_PROPERTIESNAME_COMPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
javax.servlet.FilterChain chain) |
void |
DisableAuthenticator()
Service Category: Lifecycle
Service Description: Disable this authenticator.
|
void |
EnableAuthenticator()
Service Category: Lifecycle
Service Description: Enable this authenticator.
|
org.slf4j.Logger |
getApplicationLogger() |
AuthenticationType |
getAuthenticationType() |
ThingworxUserNamePasswordCredentials |
getCredentials() |
boolean |
getEnabled() |
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
org.slf4j.Logger |
getErrorLogger() |
int |
getPriority() |
boolean |
getRequiresChallenge() |
org.slf4j.Logger |
getSecurityLogger() |
boolean |
getSupportsSession() |
void |
initializeEntity()
|
void |
setAuthenticationType(AuthenticationType value) |
void |
setCredentials(java.lang.String userName) |
void |
setCredentials(java.lang.String userName,
java.lang.String userPassword) |
void |
setEnabled(boolean value) |
void |
setPriority(int value) |
void |
setRequiresChallenge(boolean value) |
void |
setSupportsSession(boolean value) |
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, preInitializeEntity, processAPIServiceRequest, processServiceRequestAddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfigurationgetID, hasID, isTransientgetDescription, getName, setDescription, setName, toValueCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, issueAuthenticationChallenge, matchesAuthRequestgetID, hasIDgetDescription, getNamegetID, getName@ThingworxExtensionApiMethod(since={6,6}) protected Authenticator()
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntityReturns the type of this entity.
getEntityType in class RootEntity@ThingworxExtensionApiMethod(since={7,2}, canOverride=true) public void initializeEntity() throws java.lang.Exception
RootEntityInitializes the internal state of the entity. This method may be called more than once on the same entity during initialization.
All metadata, including aspects and configuration tables, are available at this point in the lifecycle.
initializeEntity in class ServiceProviderEntityjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void authenticate(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, javax.servlet.FilterChain chain) throws AuthenticatorException
authenticate in interface IAuthenticatorAuthenticatorException - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.slf4j.Logger getApplicationLogger()
@ThingworxExtensionApiMethod(since={6,6}) public org.slf4j.Logger getSecurityLogger()
@ThingworxExtensionApiMethod(since={6,6}) public org.slf4j.Logger getErrorLogger()
@ThingworxExtensionApiMethod(since={6,6}) public boolean getEnabled()
@ThingworxExtensionApiMethod(since={6,6}) public void setEnabled(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) public int getPriority()
@ThingworxExtensionApiMethod(since={6,6}) public void setPriority(int value)
@ThingworxExtensionApiMethod(since={6,6}) public void setSupportsSession(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) public boolean getSupportsSession()
@ThingworxExtensionApiMethod(since={6,6}) public boolean getRequiresChallenge()
@ThingworxExtensionApiMethod(since={6,6}) public void setRequiresChallenge(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) public void setAuthenticationType(AuthenticationType value)
@ThingworxExtensionApiMethod(since={6,6}) public AuthenticationType getAuthenticationType()
@ThingworxExtensionApiMethod(since={6,6}) public ThingworxUserNamePasswordCredentials getCredentials()
@ThingworxExtensionApiMethod(since={6,6}) public void setCredentials(java.lang.String userName)
@ThingworxExtensionApiMethod(since={6,6}) public void setCredentials(java.lang.String userName, java.lang.String userPassword)
@ThingworxExtensionApiMethod(since={7,0}) public void DisableAuthenticator() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,0}) public void EnableAuthenticator() throws java.lang.Exception
java.lang.Exception - If an error occurs