@Path(value="/realms") public class RealmFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected IdentityManager |
identityManager |
protected javax.ws.rs.core.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) |
javax.ws.rs.core.Response |
importDomain(RealmRepresentation rep) |
protected void |
verifyRealmRepresentation(RealmRepresentation rep) |
protected IdentityManager identityManager
@Context protected javax.ws.rs.core.UriInfo uriInfo
public RealmFactory(IdentityManager identityManager)
@POST @Consumes(value="application/json") public javax.ws.rs.core.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 © 2018 JBoss by Red Hat. All rights reserved.