Package org.epics.pvaccess.plugins
Interface SecurityPlugin
-
- All Known Implementing Classes:
CAClientSecurityPlugin
,CAServerSecurityPlugin
,NoSecurityPlugin
public interface SecurityPlugin
Security plugin interface.- Author:
- Matej Sekoranja
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SecurityPlugin.ChannelSecuritySession
static interface
SecurityPlugin.SecurityPluginControl
static interface
SecurityPlugin.SecuritySession
-
Field Summary
Fields Modifier and Type Field Description static String
SECURITY_PLUGINS_CLIENT_KEY
System variable name that holds a comma separated list of SecurityPlugin classes for the client.static String
SECURITY_PLUGINS_SERVER_KEY
System variable name that holds a comma separated list of SecurityPlugin classes for the server.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityPlugin.SecuritySession
createSession(InetSocketAddress remoteAddress, SecurityPlugin.SecurityPluginControl control, org.epics.pvdata.pv.PVField data)
String
getDescription()
Description of the security plug-in.String
getId()
Short, unique name for the plug-in, used to identify the plugin.boolean
isValidFor(InetSocketAddress remoteAddress)
Check whether the remote instance with given network address is valid to use this security plug-in to authNZ.
-
-
-
Field Detail
-
SECURITY_PLUGINS_CLIENT_KEY
static final String SECURITY_PLUGINS_CLIENT_KEY
System variable name that holds a comma separated list of SecurityPlugin classes for the client.
-
SECURITY_PLUGINS_SERVER_KEY
static final String SECURITY_PLUGINS_SERVER_KEY
System variable name that holds a comma separated list of SecurityPlugin classes for the server.
-
-
Method Detail
-
getId
String getId()
Short, unique name for the plug-in, used to identify the plugin.- Returns:
- the ID.
-
getDescription
String getDescription()
Description of the security plug-in.- Returns:
- the description string.
-
isValidFor
boolean isValidFor(InetSocketAddress remoteAddress)
Check whether the remote instance with given network address is valid to use this security plug-in to authNZ.- Parameters:
remoteAddress
- address to validate.- Returns:
true
if this security plugin can be used for remote instance.
-
createSession
SecurityPlugin.SecuritySession createSession(InetSocketAddress remoteAddress, SecurityPlugin.SecurityPluginControl control, org.epics.pvdata.pv.PVField data) throws SecurityException
- Throws:
SecurityException
-
-