Class InternalAuthenticationType
java.lang.Object
com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
com.inductiveautomation.ignition.gateway.user.UserSourceProfileType
com.inductiveautomation.ignition.gateway.authentication.records.InternalAuthenticationType
- All Implemented Interfaces:
ExtensionPointType
,Serializable
,Comparable<ExtensionPointType>
- See Also:
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
description, name, typeId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewProfile
(UserSourceProfileRecord profile, GatewayContext context) Create a new AuthenticationProfile given the persistent record(s) that defines its propertiesRecordMeta<? extends PersistentRecord>
Defines a PersistentRecord type that will be used to add type-specific properties.void
onRecordDestroyed
(PersistenceSession session, PersistentRecord mainRecord, PersistentRecord subRecord) Will be called when a profile of this extension point type is deleted, providing an opportunity to do any related cleanup.Methods inherited from class com.inductiveautomation.ignition.gateway.user.UserSourceProfileType
createKernel
Methods inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
addRecordInstanceActions, compareTo, findProfileSettingsRecord, getDescription, getName, getSettingsRecordForeignKey, getTypeId, isEnabled, newRecordConfigPanel
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
InternalAuthenticationType
public InternalAuthenticationType()
-
-
Method Details
-
createNewProfile
public UserSourceProfile createNewProfile(UserSourceProfileRecord profile, GatewayContext context) throws Exception Description copied from class:UserSourceProfileType
Create a new AuthenticationProfile given the persistent record(s) that defines its properties- Specified by:
createNewProfile
in classUserSourceProfileType
- Parameters:
profile
- The record that defines this authentication profile. Profile types should be able to use this record to look up their profile-specific settings object via the PersistenceInterface- Throws:
Exception
-
getSettingsRecordType
Description copied from interface:ExtensionPointType
Defines a PersistentRecord type that will be used to add type-specific properties. Optional. If null is returned, it is assumed that no extra properties are needed for this type of profile.- Returns:
- the meta of the settings record type for this object
-
onRecordDestroyed
public void onRecordDestroyed(PersistenceSession session, PersistentRecord mainRecord, PersistentRecord subRecord) Description copied from interface:ExtensionPointType
Will be called when a profile of this extension point type is deleted, providing an opportunity to do any related cleanup. Note that the main record and the sub record will be deleted after this is called.- Specified by:
onRecordDestroyed
in interfaceExtensionPointType
- Overrides:
onRecordDestroyed
in classBaseExtensionPointType
-