Product SiteDocumentation Site

12.3.2. Basic Authentication

This authentication scheme allows you to authenticate your users using HTTP BASIC based on the IETF RFC standard.
To configure this authentication scheme for a specific path just do:
httpBuilder
    .forPath("/faces/*.xhtml")
        .authenticateWith()
            .basic()
                .realmName("My Application Realm");

If you not provide a realmName, PicketLink will use a default value, which is "PicketLink Default Realm".