Package org.epics.pvaccess.impl.security
Class NoSecurityPlugin
- java.lang.Object
-
- org.epics.pvaccess.impl.security.NoSecurityPlugin
-
- All Implemented Interfaces:
SecurityPlugin,SecurityPlugin.ChannelSecuritySession,SecurityPlugin.SecuritySession
public class NoSecurityPlugin extends Object implements SecurityPlugin, SecurityPlugin.SecuritySession, SecurityPlugin.ChannelSecuritySession
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.epics.pvaccess.plugins.SecurityPlugin
SecurityPlugin.ChannelSecuritySession, SecurityPlugin.SecurityPluginControl, SecurityPlugin.SecuritySession
-
-
Field Summary
Fields Modifier and Type Field Description static NoSecurityPluginINSTANCE-
Fields inherited from interface org.epics.pvaccess.plugins.SecurityPlugin
SECURITY_PLUGINS_CLIENT_KEY, SECURITY_PLUGINS_SERVER_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNoSecurityPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.epics.pvdata.pv.StatusauthorizeCreateChannelArray(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateChannelGet(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateChannelProcess(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateChannelPut(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateChannelPutGet(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateChannelRPC(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeCreateMonitor(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)org.epics.pvdata.pv.StatusauthorizeGet(int ioid)org.epics.pvdata.pv.StatusauthorizeGetField(int ioid, String subField)org.epics.pvdata.pv.StatusauthorizeMonitor(int ioid)org.epics.pvdata.pv.StatusauthorizeProcess(int ioid)org.epics.pvdata.pv.StatusauthorizePut(int ioid, org.epics.pvdata.pv.PVArray dataToPut)org.epics.pvdata.pv.StatusauthorizePut(int ioid, org.epics.pvdata.pv.PVStructure dataToPut, org.epics.pvdata.misc.BitSet fieldsToPut)org.epics.pvdata.pv.StatusauthorizePutGet(int ioid, org.epics.pvdata.pv.PVStructure dataToPut, org.epics.pvdata.misc.BitSet fieldsToPut)org.epics.pvdata.pv.StatusauthorizeRPC(int ioid, org.epics.pvdata.pv.PVStructure arguments)org.epics.pvdata.pv.StatusauthorizeSetLength(int ioid)voidclose()SecurityPlugin.ChannelSecuritySessioncreateChannelSession(String channelName)SecurityPlugin.SecuritySessioncreateSession(InetSocketAddress remoteAddress, SecurityPlugin.SecurityPluginControl control, org.epics.pvdata.pv.PVField data)StringgetDescription()Description of the security plug-in.StringgetId()Short, unique name for the plug-in, used to identify the plugin.SecurityPlugingetSecurityPlugin()org.epics.pvdata.pv.PVFieldinitializationData()booleanisValidFor(InetSocketAddress remoteAddress)Check whether the remote instance with given network address is valid to use this security plug-in to authNZ.voidmessageReceived(org.epics.pvdata.pv.PVField data)voidrelease(int ioid)
-
-
-
Field Detail
-
INSTANCE
public static NoSecurityPlugin INSTANCE
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:SecurityPluginShort, unique name for the plug-in, used to identify the plugin.- Specified by:
getIdin interfaceSecurityPlugin- Returns:
- the ID.
-
getDescription
public String getDescription()
Description copied from interface:SecurityPluginDescription of the security plug-in.- Specified by:
getDescriptionin interfaceSecurityPlugin- Returns:
- the description string.
-
isValidFor
public boolean isValidFor(InetSocketAddress remoteAddress)
Description copied from interface:SecurityPluginCheck whether the remote instance with given network address is valid to use this security plug-in to authNZ.- Specified by:
isValidForin interfaceSecurityPlugin- Parameters:
remoteAddress- address to validate.- Returns:
trueif this security plugin can be used for remote instance.
-
initializationData
public org.epics.pvdata.pv.PVField initializationData()
- Specified by:
initializationDatain interfaceSecurityPlugin.SecuritySession
-
createSession
public SecurityPlugin.SecuritySession createSession(InetSocketAddress remoteAddress, SecurityPlugin.SecurityPluginControl control, org.epics.pvdata.pv.PVField data) throws SecurityException
- Specified by:
createSessionin interfaceSecurityPlugin- Throws:
SecurityException
-
getSecurityPlugin
public SecurityPlugin getSecurityPlugin()
- Specified by:
getSecurityPluginin interfaceSecurityPlugin.SecuritySession
-
messageReceived
public void messageReceived(org.epics.pvdata.pv.PVField data)
- Specified by:
messageReceivedin interfaceSecurityPlugin.SecuritySession
-
close
public void close()
- Specified by:
closein interfaceSecurityPlugin.ChannelSecuritySession- Specified by:
closein interfaceSecurityPlugin.SecuritySession
-
createChannelSession
public SecurityPlugin.ChannelSecuritySession createChannelSession(String channelName) throws SecurityException
- Specified by:
createChannelSessionin interfaceSecurityPlugin.SecuritySession- Throws:
SecurityException
-
authorizeCreateChannelProcess
public org.epics.pvdata.pv.Status authorizeCreateChannelProcess(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelProcessin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeProcess
public org.epics.pvdata.pv.Status authorizeProcess(int ioid)
- Specified by:
authorizeProcessin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateChannelGet
public org.epics.pvdata.pv.Status authorizeCreateChannelGet(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelGetin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeGet
public org.epics.pvdata.pv.Status authorizeGet(int ioid)
- Specified by:
authorizeGetin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateChannelPut
public org.epics.pvdata.pv.Status authorizeCreateChannelPut(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelPutin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizePut
public org.epics.pvdata.pv.Status authorizePut(int ioid, org.epics.pvdata.pv.PVStructure dataToPut, org.epics.pvdata.misc.BitSet fieldsToPut)- Specified by:
authorizePutin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateChannelPutGet
public org.epics.pvdata.pv.Status authorizeCreateChannelPutGet(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelPutGetin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizePutGet
public org.epics.pvdata.pv.Status authorizePutGet(int ioid, org.epics.pvdata.pv.PVStructure dataToPut, org.epics.pvdata.misc.BitSet fieldsToPut)- Specified by:
authorizePutGetin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateChannelRPC
public org.epics.pvdata.pv.Status authorizeCreateChannelRPC(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelRPCin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeRPC
public org.epics.pvdata.pv.Status authorizeRPC(int ioid, org.epics.pvdata.pv.PVStructure arguments)- Specified by:
authorizeRPCin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateMonitor
public org.epics.pvdata.pv.Status authorizeCreateMonitor(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateMonitorin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeMonitor
public org.epics.pvdata.pv.Status authorizeMonitor(int ioid)
- Specified by:
authorizeMonitorin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeCreateChannelArray
public org.epics.pvdata.pv.Status authorizeCreateChannelArray(int ioid, org.epics.pvdata.pv.PVStructure pvRequest)- Specified by:
authorizeCreateChannelArrayin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeSetLength
public org.epics.pvdata.pv.Status authorizeSetLength(int ioid)
- Specified by:
authorizeSetLengthin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizePut
public org.epics.pvdata.pv.Status authorizePut(int ioid, org.epics.pvdata.pv.PVArray dataToPut)- Specified by:
authorizePutin interfaceSecurityPlugin.ChannelSecuritySession
-
authorizeGetField
public org.epics.pvdata.pv.Status authorizeGetField(int ioid, String subField)- Specified by:
authorizeGetFieldin interfaceSecurityPlugin.ChannelSecuritySession
-
release
public void release(int ioid)
- Specified by:
releasein interfaceSecurityPlugin.ChannelSecuritySession
-
-