[Mapbender-users] Force login on Application

Adrián Ariza hardian at gmail.com
Tue Apr 27 13:37:04 PDT 2021


I figure it out.
I change security.xml from this:

    access_control:
        - { path: ^/user/login,    roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/manager,       roles: ROLE_USER }

to:

    access_control:
        - { path: ^/user/login,    roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/?$, roles: ROLE_USER}

Thanks!

El mar, 27 abr 2021 a las 17:01, Adrián Ariza (<hardian at gmail.com>)
escribió:

> Thanks for your reply!
> Yes, I can secur applications. I want to force the login form on the home
> page, is it that possible?
> Thanks!
>
> El mar, 27 abr 2021 a las 3:01, Astrid Emde (WhereGroup) (<
> astrid.emde at wheregroup.com>) escribió:
>
>> Am 2021-04-26 20:01, schrieb Adrián Ariza:
>> > Hi! It's there any simple way to force form login on the home page
>> > (application)?
>> > Thanks in advance!
>> > _______________________________________________
>> > Mapbender_users mailing list
>> > Mapbender_users at lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>> Hello Adrián,
>>
>> this is very easy. Please have a look in the documentation and learn how
>> to create user and groups and how to assign applications to
>> users/groups.
>>
>> https://doc.mapbender.org/en/quickstart.html#user-and-group-management
>>
>> If application access is limited to users/groups you can share the link
>> to the application but the users/groups have to login, before they can
>> use the application.
>>
>> --
>> Mit freundlichen Grüßen
>>
>> Astrid Emde
>> GIS-Consultant
>>
>> ----------------------------------------------------
>>   Aufwind durch Wissen!
>>   Web-Seminare und Online-Schulungen
>>   bei der www.foss-academy.com
>> ----------------------------------------------------
>>    Astrid Emde
>>    WhereGroup GmbH
>>    Eifelstraße 7
>>    53119 Bonn
>>    Germany
>>
>>    Fon: +49(0)228 90 90 38 - 22
>>    Fax: +49(0)228 90 90 38 - 11
>>
>>    astrid.emde at wheregroup.com
>>    www.wheregroup.com
>>
>>    Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
>>
>>
>> https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
>>    Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
>>
>>    Folgen Sie der WhereGroup auf twitter:
>>    http://twitter.com/WhereGroup_com
>>
>>    Geschäftsführer:
>>    Olaf Knopp, Peter Stamm
>>    Amtsgericht Bonn, HRB 9885
>>
>> -------------------------------_______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20210427/d710dd2a/attachment.html>


More information about the Mapbender_users mailing list