@Path(value="/system/ldap") public class LdapResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
LdapResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteLdapSettings() |
LdapSettingsResponse |
getLdapSettings() |
Map<String,String> |
readGroupMapping() |
Set<String> |
readGroups() |
LdapTestConfigResponse |
testLdapConfiguration(LdapTestConfigRequest request) |
javax.ws.rs.core.Response |
updateGroupMappingSettings(Map<String,String> groupMapping) |
void |
updateLdapSettings(LdapSettingsRequest request) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@GET @Timed @Path(value="/settings") @Produces(value="application/json") public LdapSettingsResponse getLdapSettings()
@POST @Timed @Path(value="/test") @Consumes(value="application/json") @Produces(value="application/json") public LdapTestConfigResponse testLdapConfiguration(@NotNull LdapTestConfigRequest request)
@PUT
@Timed
@Path(value="/settings")
@Consumes(value="application/json")
public void updateLdapSettings(@NotNull
LdapSettingsRequest request)
throws ValidationException
ValidationException@DELETE @Timed @Path(value="/settings") public void deleteLdapSettings()
@GET @Path(value="/settings/groups") @Produces(value="application/json") public Map<String,String> readGroupMapping()
@PUT
@Path(value="/settings/groups")
@Consumes(value="application/json")
public javax.ws.rs.core.Response updateGroupMappingSettings(@NotNull
Map<String,String> groupMapping)
throws ValidationException
ValidationExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.