Class AttributeServer
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.cm.util.AbstractDDServer
-
- org.oa4mp.server.loader.oauth2.cm.util.attributes.AttributeServer
-
- All Implemented Interfaces:
DoubleDispatchServer
,Server
public class AttributeServer extends AbstractDDServer
This server handles various requests for attributes.Created by Jeff Gaynor
on 11/28/16 at 1:31 PM
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.cm.util.AbstractDDServer
cose
-
-
Constructor Summary
Constructors Constructor Description AttributeServer(OA2SE cose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
get(AttributeGetRequest request)
protected AdminClientConverter
getACConverter()
protected AttributeGetAdminClientResponse
getAdminClientAttributes(AttributeGetRequest request)
protected AttributeClientResponse
getClientAttributes(AttributeGetRequest request)
protected OA2ClientConverter
getClientConverter()
Response
remove(AttributeRemoveRequest request)
protected AttributeAdminClientResponse
removeAdminClient(AttributeRemoveRequest request)
Remove a subset of attributes for an admin client.protected AttributeClientResponse
removeClient(AttributeRemoveRequest request)
Remove a subset of attributes for client.Response
set(AttributeSetClientRequest request)
protected AttributeAdminClientResponse
setAdminClientAttribute(AttributeSetClientRequest request)
protected AttributeClientResponse
setClientAttribute(AttributeSetClientRequest request)
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.cm.util.AbstractDDServer
canApprove, canCreate, canDelete, canRead, canWrite, getAdminClientStore, getClientApprovalStore, getClientStore, getPermissions, getPermissionStore, isACApproved, process, subset, subset
-
-
-
-
Constructor Detail
-
AttributeServer
public AttributeServer(OA2SE cose)
-
-
Method Detail
-
get
public Response get(AttributeGetRequest request)
-
getClientAttributes
protected AttributeClientResponse getClientAttributes(AttributeGetRequest request)
-
getAdminClientAttributes
protected AttributeGetAdminClientResponse getAdminClientAttributes(AttributeGetRequest request)
-
getClientConverter
protected OA2ClientConverter getClientConverter()
-
getACConverter
protected AdminClientConverter getACConverter()
-
set
public Response set(AttributeSetClientRequest request)
-
setClientAttribute
protected AttributeClientResponse setClientAttribute(AttributeSetClientRequest request)
-
setAdminClientAttribute
protected AttributeAdminClientResponse setAdminClientAttribute(AttributeSetClientRequest request)
-
remove
public Response remove(AttributeRemoveRequest request)
-
removeClient
protected AttributeClientResponse removeClient(AttributeRemoveRequest request)
Remove a subset of attributes for client.- Parameters:
request
-- Returns:
-
removeAdminClient
protected AttributeAdminClientResponse removeAdminClient(AttributeRemoveRequest request)
Remove a subset of attributes for an admin client.- Parameters:
request
-- Returns:
-
-