{
    "realm": "aerogear",
    "enabled": true,
    "accessTokenLifespan": 3000,
    "accessCodeLifespan": 10,
    "accessCodeLifespanUserAction": 6000,
    "sslNotRequired": true,
    "registrationAllowed": false,
    "social": false,
    "adminTheme": "aerogear",
    "accountTheme": "aerogear",
    "loginTheme": "aerogear",
    "updateProfileOnInitialSocialLogin": false,
    "requiredCredentials": [ "password" ],
    "users" : [
        {
            "username" : "bburke@redhat.com",
            "enabled": true,
            "email" : "bburke@redhat.com",
            "firstName": "Bill",
            "lastName": "Burke",
            "credentials" : [
                { "type" : "password",
                    "value" : "password" }
            ]
        },
        {
            "username" : "admin",
            "enabled": true,
            "firstName": "Meister",
            "lastName": "Burke",
            "credentials" : [
                { "type" : "password",
                    "value" : "admin" }
            ],
            "requiredActions": [
                "UPDATE_PASSWORD"
            ]
        }
    ],
    "roles" : {
        "realm" : [
            {
                "name": "user",
                "description": "User privileges"
            },
            {
                "name": "admin",
                "description": "Administrator privileges"
            }
        ]
    },
    "roleMappings": [
        {
            "username": "bburke@redhat.com",
            "roles": ["user"]
        },
        {
            "username": "admin",
            "roles": ["user", "admin"]
        }
    ],
    "scopeMappings": [
        {
            "client": "unified-push-server",
            "roles": ["user", "admin"]
        }
    ],
    "applications": [
        {
            "name": "unified-push-server",
            "enabled": true,
            "publicClient": true,
            "adminUrl": "/aerogear-ups",
            "baseUrl": "/aerogear-ups",
            "redirectUris": [
                "/aerogear-ups/*"
            ]
        }
    ],
    "applicationRoleMappings": {
        "account": [
            {
                "username": "bburke@redhat.com",
                "roles": ["manage-account"]
            },
            {
                "username": "admin",
                "roles": ["manage-account"]
            }
        ],
        "realm-management": [
            {
                "username": "admin",
                "roles": ["realm-admin"]
            }
        ]
    }

}
