egovframework.rfc3.iam.security.securedobject.impl
Class SecuredObjectServiceImpl

java.lang.Object
  extended by egovframework.rfc3.iam.security.securedobject.impl.SecuredObjectServiceImpl
All Implemented Interfaces:
ISecuredObject2Service, ISecuredObjectService, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class SecuredObjectServiceImpl
extends java.lang.Object
implements ISecuredObjectService, ISecuredObject2Service, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean

Enabling applications to approach the data of secured object resources from DataBase which is refered to initial data of Spring Security.

Since:
2010.12.05
Version:
egovframework RFC 3.0
Author:
허성철
See Also:
 << 개정이력(Modification Information) >>
   
   수정일      수정자           수정내용
  -------    -------------    ----------------------
   2010.12.06 허성철 egovframe 수정작업

 Copyright (C) 2010 by skoinfo  All right reserved.
 

Field Summary
 
Fields inherited from interface egovframework.rfc3.iam.security.securedobject.ISecuredObjectService
LOGGER
 
Constructor Summary
SecuredObjectServiceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 java.lang.String getHierarchicalRoles()
          role 의 계층(Hierarchy) 관계를 조회
 java.util.List<org.springframework.security.access.ConfigAttribute> getMatchedRequestMapping(java.lang.String url)
          getMatchedRequestMapping
 java.util.LinkedHashMap getRolesAndMethod()
          method 형식의 role 권한 획득
 java.util.LinkedHashMap getRolesAndPointcut()
          pointcut 형식의 role 권한 획득
 java.util.LinkedHashMap getRolesAndUrl()
          url 형식의 role 권한 획득
 java.util.List getViewResourceMapping(java.util.Map paramMap)
          2017.4.11 to 광훈
 java.util.List getViewResourceMapping2(java.lang.String groupId, java.lang.String category, java.lang.String mySgroupId, java.util.ArrayList authorities, java.lang.String userId)
          2017.4.11 to 광훈
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
          set ApplicationContext
 void setSecuredObjectDAO(SecuredObjectDAO securedObjectDAO)
          setSecuredObjectDAO
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredObjectServiceImpl

public SecuredObjectServiceImpl()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
set ApplicationContext

Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Parameters:
applicationContext - to be set by container
Throws:
org.springframework.beans.BeansException

setSecuredObjectDAO

public void setSecuredObjectDAO(SecuredObjectDAO securedObjectDAO)
setSecuredObjectDAO

Parameters:
securedObjectDAO - SecuredObjectDAO

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getRolesAndUrl

public java.util.LinkedHashMap getRolesAndUrl()
                                       throws java.lang.Exception
url 형식의 role 권한 획득

Specified by:
getRolesAndUrl in interface ISecuredObjectService
Returns:
LinkedHashMap
Throws:
java.lang.Exception

getRolesAndMethod

public java.util.LinkedHashMap getRolesAndMethod()
                                          throws java.lang.Exception
method 형식의 role 권한 획득

Specified by:
getRolesAndMethod in interface ISecuredObjectService
Returns:
LinkedHashMap
Throws:
java.lang.Exception

getRolesAndPointcut

public java.util.LinkedHashMap getRolesAndPointcut()
                                            throws java.lang.Exception
pointcut 형식의 role 권한 획득

Specified by:
getRolesAndPointcut in interface ISecuredObjectService
Returns:
LinkedHashMap
Throws:
java.lang.Exception

getMatchedRequestMapping

public java.util.List<org.springframework.security.access.ConfigAttribute> getMatchedRequestMapping(java.lang.String url)
                                                                                             throws java.lang.Exception
getMatchedRequestMapping

Specified by:
getMatchedRequestMapping in interface ISecuredObjectService
Returns:
ConfigAttributeDefinition
Throws:
java.lang.Exception

getHierarchicalRoles

public java.lang.String getHierarchicalRoles()
                                      throws java.lang.Exception
role 의 계층(Hierarchy) 관계를 조회

Specified by:
getHierarchicalRoles in interface ISecuredObjectService
Returns:
String
Throws:
java.lang.Exception

getViewResourceMapping

public java.util.List getViewResourceMapping(java.util.Map paramMap)
                                      throws java.lang.Exception
2017.4.11 to 광훈

Specified by:
getViewResourceMapping in interface ISecuredObjectService
Throws:
java.lang.Exception

getViewResourceMapping2

public java.util.List getViewResourceMapping2(java.lang.String groupId,
                                              java.lang.String category,
                                              java.lang.String mySgroupId,
                                              java.util.ArrayList authorities,
                                              java.lang.String userId)
                                       throws java.lang.Exception
2017.4.11 to 광훈

Specified by:
getViewResourceMapping2 in interface ISecuredObject2Service
Throws:
java.lang.Exception