Enabling Stork Authentication into OpenNCP Portal

First you have to download (Releases) and install openncp-stork-plugin and deploy it to the OpenNCP portal. You can do this from the App Manager of OpenNCP portal that can be found in the control panel.

Then and after this plugin has successfully installed in your installation you can proceed with the stork configuration page that can be found under Control Panel - Portal Settings - Authentication 

There you can define/override the default settings of stork plugin. The properties can be configured are the following:

Stork Configuration Properties

### With this property you can switch on and off the stork plugin
stork.enabled=true
provider.name=DEMO-SP
sp.sector=DEMO-SP
sp.aplication=DEMO-SP
sp.country=LOCAL
sp.qaalevel=3
### PEPS URL, this has to be changed and configured to your PEPS installation
peps.url=http://openncp6.gnomon.com.gr:9680/PEPS/ServiceProvider

### The stork login url must be relevant to your openncp installation domain.
stork.login.url=http://<openncpportal.url>/stork-plugin-0.5.0-SNAPSHOT/storkServlet

sp.return=http://<openncpportal.url>/

# Here is the list of the attributes used and requested to be returned from the stork application

sp.mandatory.personal.attributes=eIdentifier,givenName,surname,eMail
sp.mandatory.business.attributes=isHealthCareProfessional,Title
sp.mandatory.legal.attributes=

 

DO NOT CHANGE THIS
# portal settings stork tab
company.settings.form.authentication=general,ldap,cas,stork
terms.of.use.required=false
users.email.address.required=false
login.form.navigation.pre=stork
auto.login.hooks=com.liferay.portal.security.auth.StorkAutoLogin 

After enabling the stork authentication you should see in your first page of portal the following screen with stork link enabled