org.cloudfoundry.identity.uaa.scim.endpoints
Class UserIdInjector
java.lang.Object
org.cloudfoundry.identity.uaa.scim.endpoints.UserIdInjector
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean
public class UserIdInjector
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean
Convenience aspect for converting user ids to user names (or vice versa) and injecting the result into the
intercepted method call. Using this makes the conversion transparent to callers but it only makes sense where the
SCIM features are available (i.e. the UAA controls its own user accounts).
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserIdInjector
public UserIdInjector()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
setInputIndex
public void setInputIndex(int inputIndex)
- Parameters:
inputIndex - the index of the incoming args that may need to be converted
setScimUserProvisioning
public void setScimUserProvisioning(ScimUserProvisioning scimUserProvisioning)
- Parameters:
scimUserProvisioning - the scimUserProvisioning to set
setLookup
public void setLookup(boolean lookup)
- Parameters:
lookup - the flag to set
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
Copyright © 2013. All rights reserved.