Implementation of 'portal-authentication-api' for cases, where it is only needed technically or for documentation purpose. In contrast to 'portal-authentication-dummy' this module must never be used in production environments.
<dependency>
<groupId>de.cuioss.portal.authentication</groupId>
<artifactId>portal-authentication-mock</artifactId>
</dependency>
Keys and defaults:
portal.MockAuthenticationFacade.authenticated=true
portal.MockAuthenticationFacade.username=user
portal.MockAuthenticationFacade.system=mock
portal.MockAuthenticationFacade.groups= // Comma separated String
portal.MockAuthenticationFacade.roles= // Comma separated String
portal.MockAuthenticationFacade.contextMap= // Suffix with the concrete keys, like portal.MockAuthenticationFacade.contextMap.mykey=myValue