IAM Admin 은 관리 대상 어플리케이션과의 연동을 위하여 일부 환경 설정을 필요로 한다. 이번 장에서는 IAM Admin 환경 설정 내용에 대하여 설명한다.
대상 시스템의 Resource 정보 수집, 권한 Reload 를 위한 설정을 추가한다.
gatherServiceClient, resourceReloadServiceClient bean의 serverUrl Property 설정 값을 대상 시스템의 url로 설정한다. (설정 내용의 http://localhost:8080/anyframe.iam.sample 부분)
<bean id="gatherServiceClient"
class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl"
value="http://localhost:8080/anyframe.iam.sample/assist/resourceGatherAssist.do" />
<property name="serviceInterface"
value="anyframe.iam.core.assist.IResourceGatherAssistService" />
<property name="httpInvokerRequestExecutor">
<bean
class="org.springframework.security.context.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />
</property>
</bean>
<bean id="resourceReloadServiceClient"
class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl"
value="https://localhost:8080/anyframe.iam.sample/reload/resourceReload.do" />
<property name="serviceInterface"
value="anyframe.iam.core.reload.IResourceReloadService" />
<property name="httpInvokerRequestExecutor">
<bean class="org.springframework.security.context.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />
</property>
</bean>