org.cloudfoundry.identity.uaa.scim.endpoints
Class UserIdConversionEndpoints

java.lang.Object
  extended by org.cloudfoundry.identity.uaa.scim.endpoints.UserIdConversionEndpoints
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Controller
public class UserIdConversionEndpoints
extends Object
implements org.springframework.beans.factory.InitializingBean

Author:
Dave Syer, Luke Taylor

Constructor Summary
UserIdConversionEndpoints()
           
 
Method Summary
 void afterPropertiesSet()
           
 SearchResults<?> findUsers(String filter, String sortOrder, int startIndex, int count)
           
 void handleException()
           
 org.springframework.web.servlet.View handleException(Exception t, javax.servlet.http.HttpServletRequest request)
           
 void setEnabled(boolean enabled)
          Determines whether this endpoint is active or not.
 void setScimUserEndpoints(ScimUserEndpoints scimUserEndpoints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserIdConversionEndpoints

public UserIdConversionEndpoints()
Method Detail

setScimUserEndpoints

public void setScimUserEndpoints(ScimUserEndpoints scimUserEndpoints)
Parameters:
scimUserEndpoints - the scimUserEndpoints to set

setEnabled

public void setEnabled(boolean enabled)
Determines whether this endpoint is active or not. If not enabled, it will return a 404.


findUsers

@RequestMapping(value="/ids/Users",
                method=GET)
@ResponseBody
public SearchResults<?> findUsers(@RequestParam(required=true,defaultValue="")
                                                              String filter,
                                                              @RequestParam(required=false,defaultValue="ascending")
                                                              String sortOrder,
                                                              @RequestParam(required=false,defaultValue="1")
                                                              int startIndex,
                                                              @RequestParam(required=false,defaultValue="100")
                                                              int count)

handleException

@ExceptionHandler
public org.springframework.web.servlet.View handleException(Exception t,
                                                                             javax.servlet.http.HttpServletRequest request)
                                                     throws ScimException
Throws:
ScimException

handleException

@ExceptionHandler(value=java.lang.UnsupportedOperationException.class)
@ResponseStatus(value=NOT_FOUND)
public void handleException()

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2013. All rights reserved.