二十七,Geoserver 用户和组(/roles)

安全角色的组织

/security/roles

Get: 查询所有角色列表

/security/roles/user/{user}

Get: 查询指定用户所具备的角色列表

/security/roles/group/{group}

Get: 查询指定用户组所具备的角色列表

 

/security/roles/service/{serviceName}/roles/

Get: 查询特定角色服务中的所有角色

 

/security/roles/service/{serviceName}/user/{user}

Get: 查询特定角色服务中用户的所有角色

 

/security/roles/service/{serviceName}/group/{group}

Get: 查询特定角色服务中组的所有角色

 

/security/roles/role/{role}

Post: 在默认角色服务中添加角色

Delete:在默认角色服务中删除角色

/security/roles/role/{role}/user/{user}

Post:将默认角色服务中的现有角色与用户关联

Delete:将默认角色服务中的角色与用户解除关联

/security/roles/role/{role}/group/{group}

Post:将默认角色服务中的现有角色与组关联

Delete:将默认角色服务中的角色与组解除关联

/security/service/{serviceName}/role/{role}

Post:在特定角色服务中添加角色

Delete:删除特定角色服务中的角色

/security/service/{serviceName}/roles/role/{role}/user/{user}

Post:将特定角色服务中的现有角色与用户关联

Delete:将特定角色服务中的角色与用户解除关联

/security/service/{serviceName}/roles/role/{role}/group/{group}

Post:将特定角色服务中的现有角色与组关联

Delete:将特定角色服务中的角色与组解除关联

原文地址:https://www.cnblogs.com/chenjq0717/p/12437329.html