Skip to content

Latest commit

 

History

History

portal-authentication-mock

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

portal-authentication-mock

What is it?

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.

Maven Coordinates

    <dependency>
        <groupId>de.cuioss.portal.authentication</groupId>
        <artifactId>portal-authentication-mock</artifactId>
    </dependency>

Configuration

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