egovframework.rfc3.iam.manager
Class ViewManager

java.lang.Object
  extended by egovframework.rfc3.iam.manager.ViewManager

public class ViewManager
extends java.lang.Object


Constructor Summary
ViewManager(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 boolean isAdminMenuGranted(javax.servlet.http.HttpServletRequest request, java.lang.String amdSid)
          관리자 메뉴 권한 할당 여부
 boolean isAdminMenuOfficeGranted(java.lang.String amdSid, java.lang.String officeCd)
          관리자 메뉴 부서권한 할당 여부
 boolean isGranted(javax.servlet.http.HttpServletRequest request, java.lang.String viewResourceId, java.lang.String permissionName)
          view권한
 boolean isGranted(javax.servlet.http.HttpServletRequest request, java.lang.String ssoKey, java.lang.String viewResourceId, java.lang.String permissionName)
           
 boolean isSubGranted(javax.servlet.http.HttpServletRequest request, java.util.List<AdminMenuVO> selectGroupAdmList)
          order_sid 가 0보다 큰경우 자신의 권한에 할당된 경우
 boolean isSubOfficeGranted(java.util.List<AdminMenuVO> selectGroupAdmList, java.lang.String officeCd)
          order_sid 가 0보다 큰경우 자신의 부서권한에 할당된 경우
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewManager

public ViewManager(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
Method Detail

isGranted

public boolean isGranted(javax.servlet.http.HttpServletRequest request,
                         java.lang.String viewResourceId,
                         java.lang.String permissionName)
                  throws java.lang.Exception
view권한

Parameters:
viewResourceId -
permissionName -
Returns:
Throws:
java.lang.Exception

isGranted

public boolean isGranted(javax.servlet.http.HttpServletRequest request,
                         java.lang.String ssoKey,
                         java.lang.String viewResourceId,
                         java.lang.String permissionName)
                  throws java.lang.Exception
Throws:
java.lang.Exception

isAdminMenuGranted

public boolean isAdminMenuGranted(javax.servlet.http.HttpServletRequest request,
                                  java.lang.String amdSid)
                           throws java.lang.Exception
관리자 메뉴 권한 할당 여부

Parameters:
request -
amdSid -
Returns:
Throws:
java.lang.Exception

isAdminMenuOfficeGranted

public boolean isAdminMenuOfficeGranted(java.lang.String amdSid,
                                        java.lang.String officeCd)
                                 throws java.lang.Exception
관리자 메뉴 부서권한 할당 여부

Parameters:
request -
amdSid -
Returns:
Throws:
java.lang.Exception

isSubGranted

public boolean isSubGranted(javax.servlet.http.HttpServletRequest request,
                            java.util.List<AdminMenuVO> selectGroupAdmList)
                     throws java.lang.Exception
order_sid 가 0보다 큰경우 자신의 권한에 할당된 경우

Parameters:
request -
selectGroupAdmList -
Returns:
Throws:
java.lang.Exception

isSubOfficeGranted

public boolean isSubOfficeGranted(java.util.List<AdminMenuVO> selectGroupAdmList,
                                  java.lang.String officeCd)
                           throws java.lang.Exception
order_sid 가 0보다 큰경우 자신의 부서권한에 할당된 경우

Parameters:
request -
selectGroupAdmList -
Returns:
Throws:
java.lang.Exception