{
    "realm": "aerogear",
    "enabled": true,
    "accessTokenLifespan": 3000,
    "accessCodeLifespan": 10,
    "accessCodeLifespanUserAction": 6000,
    "sslRequired": "external",
    "registrationAllowed": false,
    "adminTheme": "aerogear",
    "accountTheme": "aerogear",
    "loginTheme": "aerogear",
    "requiredCredentials": [ "password" ],
    "users" : [
        {
            "username" : "bburke@redhat.com",
            "enabled": true,
            "email" : "bburke@redhat.com",
            "firstName": "Bill",
            "lastName": "Burke",
            "credentials" : [
                { "type" : "password",
                    "value" : "password" }
            ],
            "realmRoles": [ "user" ],
            "applicationRoles": {
                "account": [ "manage-account" ]
            }
        },
        {
            "username" : "admin",
            "enabled": true,
            "firstName": "Meister",
            "lastName": "Burke",
            "credentials" : [
                { "type" : "password",
                    "value" : "admin" }
            ],
            "requiredActions": [
                "UPDATE_PASSWORD"
            ],
            "realmRoles": [ "user","admin" ],
            "applicationRoles": {
                "realm-management": [ "realm-admin" ],
                "account": [ "manage-account" ]
            }

        }
    ],
    "roles" : {
        "realm" : [
            {
                "name": "user",
                "description": "User privileges"
            },
            {
                "name": "admin",
                "description": "Administrator privileges"
            }
        ]
    },
    "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/*"
            ]
        }
    ]

}
