A NetID Access Authenticator Plugin for the Curity Identity Server.
Note: The plugin requires at least version 7.0. of the Curity Identity Server. It might not work with previous versions.
Build the plugin by issuing the command mvn package
. This will produce a JAR file in the target
directory, which can be installed.
To install the plugin, download the release zip archive, unpack it and copy the contents of the /usr/
to ${IDSVR_HOME}/usr/
,
on each node of the Curity Identity Server, including the admin node.
To install the plugin after building, copy the contents of /target/usr/
to ${IDSVR_HOME}/usr/
, on each node of
the Curity Identity Server, including the admin node.
For more information about installing plugins, refer to the curity.io/plugins.
For a list of the dependencies and their versions, run mvn dependency:list
. Ensure that all of these are installed in the plugin group; otherwise, they will not be accessible to this plug-in and run-time errors will result.
The plugin has the following configuration options:
Hostname
- the hostname of the Net ID Access server.Port
- the port of the Net ID Access server.Path
- path of the Web Service endpoint.Trust store
- the server trust store that will be used during connections to the Net ID Access service. You can either provide the server's certificate, or a Certificate Authority. If left empty then the default Java trust store will be used (cacerts).Key Store
- the client key store that will be used during connections to the Net ID Access service. If left empty then the default Java key store will be used (cacerts).Disable HTTPS
- by default connections to the Net ID Access service are done using HTTPS. Turn this option on if an unsecured connection should be used instead.
The plugin sets a number of subject attributes based on the data it gets from NetID. Among these attributes are a few that can be picked up as the subject
attribute. If any of the following attributes is present, it will be used as the subject
attribute, in the following priority:
personalNumber
from theResultCollect
->userInfo
elementuserId
from theResultCollect
->userInfo
elementuserUniqueName
from theResultCollect
->userInfo
elementrequestedUserId
from theResultCollect
element
If you are already running the internal Curity authenticator that was available in versions before 7.0, the configuration will need to be changed slightly.
The type of the plugin changed from netidaccess
to netidaccess-os
. This affects an xml-tag and a namespace.
Internal plugin config:
<authenticator>
<id>NetIdAccess</id>
<netidaccess xmlns="https://curity.se/ns/conf/authenticator/netid-access">
…
</netidaccess>
</authenticator>
Migrated config:
<authenticator>
<id>NetIdAccess</id>
<netidaccess-os xmlns="https://curity.se/ns/ext-conf/netidaccess-os">
…
</netidaccess>
</authenticator>
The http-client is no longer used by the plugin and can be removed from the configuration.
Instead, there are three new settings: Trust store
, Key store
and disable HTTPS
. See Configuring the Plugin
for details.
Please visit curity.io for more information about the Curity Identity Server.