{
    "realm": "demo",
    "enabled": true,
    "accessTokenLifespan": 3000,
    "accessCodeLifespan": 10,
    "accessCodeLifespanUserAction": 6000,
    "sslNotRequired": true,
    "registrationAllowed": false,
    "social": false,
    "updateProfileOnInitialSocialLogin": false,
    "requiredCredentials": [ "password" ],
    "users" : [
        {
            "username" : "bburke@redhat.com",
            "enabled": true,
            "email" : "bburke@redhat.com",
            "firstName": "Bill",
            "lastName": "Burke",
            "credentials" : [
                { "type" : "password",
                    "value" : "password" }
            ]
        }
    ],
    "roles" : {
        "realm" : [
            {
                "name": "user",
                "description": "User privileges"
            },
            {
                "name": "admin",
                "description": "Administrator privileges"
            }
        ]
    },
    "roleMappings": [
        {
            "username": "bburke@redhat.com",
            "roles": ["user"]
        }
    ],
    "scopeMappings": [
        {
            "client": "customer-portal",
            "roles": ["user"]
        }
    ],
    "applications": [
        {
            "name": "customer-portal",
            "enabled": true,
            "publicClient": true,
            "adminUrl": "/app",
            "baseUrl": "/app",
            "redirectUris": [
                "/app/*"
            ]
        }
    ],
    "applicationRoleMappings": {
        "account": [
            {
                "username": "bburke@redhat.com",
                "roles": ["manage-account"]
            }
        ]
    }

}
