@Path(value="/realms") public class RealmFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected IdentityManager |
identityManager |
protected UriInfo |
uriInfo |
Constructor and Description |
---|
RealmFactory(IdentityManager identityManager) |
Modifier and Type | Method and Description |
---|---|
protected Realm |
createRealm(RealmRepresentation rep) |
protected RoleMapping |
createRoleMapping(Map<String,User> userMap,
RoleMappingRepresentation mapping) |
protected ScopeMapping |
createScopeMapping(Map<String,User> userMap,
ScopeMappingRepresentation mapping) |
Response |
importDomain(RealmRepresentation rep) |
protected void |
verifyRealmRepresentation(RealmRepresentation rep) |
protected IdentityManager identityManager
public RealmFactory(IdentityManager identityManager)
@POST @Consumes(value="application/json") public Response importDomain(RealmRepresentation rep)
protected Realm createRealm(RealmRepresentation rep)
protected RoleMapping createRoleMapping(Map<String,User> userMap, RoleMappingRepresentation mapping)
protected ScopeMapping createScopeMapping(Map<String,User> userMap, ScopeMappingRepresentation mapping)
protected void verifyRealmRepresentation(RealmRepresentation rep)
Copyright © 2015. All Rights Reserved.