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
,java.io.Serializable
,java.lang.Comparable<ExtensionPointType>
public class InternalAuthenticationType extends UserSourceProfileType
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Fields inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
description, name, typeId
-
-
Constructor Summary
Constructors Constructor Description InternalAuthenticationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSourceProfile
createNewProfile(UserSourceProfileRecord profile, GatewayContext context)
Create a new AuthenticationProfile given the persistent record(s) that defines its propertiesRecordMeta<? extends PersistentRecord>
getSettingsRecordType()
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 Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createNewProfile
public UserSourceProfile createNewProfile(UserSourceProfileRecord profile, GatewayContext context) throws java.lang.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:
java.lang.Exception
-
getSettingsRecordType
public RecordMeta<? extends PersistentRecord> 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
-
-