Class ADHybridProperties.AuthType
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
-
- com.inductiveautomation.ignition.gateway.user.UserSourceProfileType
-
- com.inductiveautomation.ignition.gateway.authentication.records.ADHybridProperties.AuthType
-
- All Implemented Interfaces:
ExtensionPointType
,java.io.Serializable
,java.lang.Comparable<ExtensionPointType>
- Enclosing class:
- ADHybridProperties
public static class ADHybridProperties.AuthType extends UserSourceProfileType
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.gateway.model.BaseExtensionPointType
description, name, typeId
-
-
Constructor Summary
Constructors Constructor Description AuthType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSourceProfile
createNewProfile(UserSourceProfileRecord profileRec, 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
-
-
-
-
Method Detail
-
createNewProfile
public UserSourceProfile createNewProfile(UserSourceProfileRecord profileRec, 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:
profileRec
- 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
-
-