com.poscoict.glueframework.web.security
Interface GlueUser


public interface GlueUser


Method Summary
 String getClientIP()
          UserÀÇ Login IP¸¦ °¡Á®¿È.
 Locale getLocale()
          userÀÇ Locale Á¤º¸¸¦ °¡Á®¿È.
 List<GlueMenu> getMenu()
          ÇöÀç »ç¿ëÀÚ¿¡ ´ëÇÑ Menu List °¡Á®¿È.
 Object getSsoInfo()
          ÇöÀç LoginÇÑ SSO Á¤º¸¸¦ °¡Á®¿È.
 String getUserID()
          User ID¸¦ °¡Á®¿È.
 Object getUserInfo(Object key)
          User¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸¿¡¼­ Key¿¡ ÇØ´çÇÏ´Â Á¤º¸¸¦ °¡Á®¿È.
 Map<?,?> getUserInfoMap()
          User¿¡ ´ëÇÑ Ãß°¡ Á¤º¸¸¦ °¡Á®¿È.
 void setClientIP(String clientIP)
          UserÀÇ Login IP¸¦ ÀúÀåÇÔ.
 void setLocale(Locale locale)
          UserÀÇ Locale Á¤º¸¸¦ ÀúÀå.
 void setMenu(List<GlueMenu> menu)
          ÇöÀç »ç¿ëÀÚ¿¡ ´ëÇÑ Menu List¸¦ ÀúÀå.
 void setSsoInfo(Object ssoInfo)
          SSO Á¤º¸¸¦ ÀúÀå ÇÑ´Ù.
 void setUserID(String id)
          User ID¸¦ ÀúÀå.
 void setUserInfo(Object key, Object value)
          Ãß°¡ User Á¤º¸¿¡ Ãß°¡Á¤º¸¸¦ ÀúÀå ÇÔ.
 void setUserInfoMap(Map<?,?> userInfo)
          User¿¡ ´ëÇÑ Ãß°¡Á¤º¸¸¦ ÀúÀå.
 

Method Detail

getMenu

List<GlueMenu> getMenu()
ÇöÀç »ç¿ëÀÚ¿¡ ´ëÇÑ Menu List °¡Á®¿È.

Returns:
List

setMenu

void setMenu(List<GlueMenu> menu)
ÇöÀç »ç¿ëÀÚ¿¡ ´ëÇÑ Menu List¸¦ ÀúÀå.

Parameters:
menu -

getSsoInfo

Object getSsoInfo()
ÇöÀç LoginÇÑ SSO Á¤º¸¸¦ °¡Á®¿È.

Returns:
Object

setSsoInfo

void setSsoInfo(Object ssoInfo)
SSO Á¤º¸¸¦ ÀúÀå ÇÑ´Ù.

Parameters:
ssoInfo -

getUserInfoMap

Map<?,?> getUserInfoMap()
User¿¡ ´ëÇÑ Ãß°¡ Á¤º¸¸¦ °¡Á®¿È.

Returns:
Map

setUserInfoMap

void setUserInfoMap(Map<?,?> userInfo)
User¿¡ ´ëÇÑ Ãß°¡Á¤º¸¸¦ ÀúÀå.

Parameters:
userInfo -

getUserInfo

Object getUserInfo(Object key)
User¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸¿¡¼­ Key¿¡ ÇØ´çÇÏ´Â Á¤º¸¸¦ °¡Á®¿È.
 - »ç¿ë¿¹
 user.getUserInfo(key);
 
 - ´Ù¸¥ ¹æ¹ý
 Map map = user.getUserInfoMap();
 map.get(key);
 

Parameters:
key -
Returns:
Object

setUserInfo

void setUserInfo(Object key,
                 Object value)
Ãß°¡ User Á¤º¸¿¡ Ãß°¡Á¤º¸¸¦ ÀúÀå ÇÔ.
 - »ç¿ë¿¹ 
 user.setUserInfo(key, value);
 
 - ´Ù¸¥ ¹æ¹ý 
 Map map = user.getUserInfoMap();
 if(map!=null)
 {
     map.put(key, value);
     user.setUserInfoMap(map);
 }
 

Parameters:
key -
value -

getUserID

String getUserID()
User ID¸¦ °¡Á®¿È.

Returns:
String

setUserID

void setUserID(String id)
User ID¸¦ ÀúÀå.

Parameters:
id -

getLocale

Locale getLocale()
userÀÇ Locale Á¤º¸¸¦ °¡Á®¿È.

Returns:
locale

setLocale

void setLocale(Locale locale)
UserÀÇ Locale Á¤º¸¸¦ ÀúÀå.

Parameters:
locale -

getClientIP

String getClientIP()
UserÀÇ Login IP¸¦ °¡Á®¿È.

Returns:
clientIP

setClientIP

void setClientIP(String clientIP)
UserÀÇ Login IP¸¦ ÀúÀåÇÔ.

Parameters:
clientIP -


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.