|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttle.framework.component.impl.ComponentBase
tle.framework.component.impl.aamanager.NullAAManager
public class NullAAManager
±ÇÇÑ ÀÎÁõ ºÎºÐÀ» Á÷Á¢ ó¸®ÇÏ°í ½ÍÀº °æ¿ì¿¡ »ç¿ëÇÏ´Â AAManager ±¸Çöü.
| Field Summary |
|---|
| Fields inherited from class tle.framework.component.impl.ComponentBase |
|---|
componentState, config |
| Constructor Summary | |
|---|---|
NullAAManager()
|
|
| Method Summary | |
|---|---|
User |
authenticate(UserAuthenticationInfo authInfo)
UserAuthenticationInfo¿¡ ÀúÀåµÈ Á¤º¸¸¦ »ç¿ëÇÏ¿© ÀÎÁõµÈ »ç¿ëÀÚÀÎ °æ¿ì »ç¿ëÀÚ¿¡ ÇØ´çÇÏ´Â User °´Ã¼¸¦ ¸®ÅÏÇÑ´Ù. |
boolean |
checkAuthorization(User user,
Service service)
user°¡ service¸¦ »ç¿ëÇÒ ¼ö ÀÖÀ» °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù. |
void |
closeSession(HttpServletRequest request,
HttpServletResponse response)
»ç¿ëÀÚÀÇ ¼¼¼ÇÀ» Á¾·áÇÑ´Ù. |
AAManagerProxy |
getAAManagerProxy()
ÀÌ AAManager °´Ã¼¸¦ ¿¬°áÇÑ AAManagerProxy¸¦ ¸®ÅÏÇÑ´Ù. |
Role |
getRole(java.lang.String roleID)
¿ªÇÒ ID¿¡ ÇØ´çÇÏ´Â ¿ªÇÒÀ» ¸®ÅÏÇÑ´Ù. |
Service |
getService(RequestInfo requestInfo)
¿äû Á¤º¸¿¡ ÇØ´çÇÏ´Â Service¸¦ ±¸ÇÑ´Ù. |
User |
getSessionUser(HttpServletRequest request)
¼¼¼Ç°ú °ü·ÃµÈ User¸¦ ±¸ÇÑ´Ù. |
void |
openSession(User user,
HttpServletRequest request,
HttpServletResponse response)
»ç¿ëÀÚÀÇ ¼¼¼ÇÀ» ½ÃÀÛÇÑ´Ù. |
| Methods inherited from class tle.framework.component.impl.ComponentBase |
|---|
close, closing, getDescription, getID, getState, init, initing, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, resuming, start, starting, stop, stopping, suspend, suspending |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tle.framework.component.Component |
|---|
close, getID, init, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, start, stop, suspend |
| Methods inherited from interface tle.framework.component.ComponentMBean |
|---|
getDescription, getID, getState |
| Constructor Detail |
|---|
public NullAAManager()
| Method Detail |
|---|
public User authenticate(UserAuthenticationInfo authInfo)
throws AAManagerException
AAManager
authenticate in interface AAManagerauthInfo - »ç¿ëÀÚ ÀÎÁõ Á¤º¸
AuthenticationException - ¾ÆÀ̵𳪠¾ÏÈ£°¡ À߸øµÈ °æ¿ì¿Í °°ÀÌ ÀÎÁõ¿¡ ½ÇÆÐÇÒ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù.
AAManagerException - ±âŸ ¹®Á¦°¡ ÀÖÀ» ¶§ ¹ß»ýÇÑ´Ù.
public void openSession(User user,
HttpServletRequest request,
HttpServletResponse response)
throws AAManagerException
AAManagerAAManagerÀÇ ±¸Çöü´Â HttpSessionÀ̳ª ±âŸ ´Ù¸¥ ¹æ¹ýÀ» »ç¿ëÇØ¼ ¼¼¼ÇÀ» ±¸ÇöÇØÁÖ¾î¾ß ÇÑ´Ù.
openSession in interface AAManageruser - ¼¼¼Ç¿¡ ÀúÀåµÉ »ç¿ëÀÚrequest - HTTP ¿äûresponse - HTTP ÀÀ´ä
AAManagerException
public void closeSession(HttpServletRequest request,
HttpServletResponse response)
throws AAManagerException
AAManager
closeSession in interface AAManagerAAManagerException
public User getSessionUser(HttpServletRequest request)
throws AAManagerException
AAManager
getSessionUser in interface AAManagerAAManagerException
public boolean checkAuthorization(User user,
Service service)
throws AAManagerException
AAManager
checkAuthorization in interface AAManageruser - »ç¿ëÀÚservice - ¼ºñ½º
AAManagerException
public Service getService(RequestInfo requestInfo)
throws AAManagerException
AAManager
getService in interface AAManagerrequestInfo - ¿äû Á¤º¸
AAManagerException
public Role getRole(java.lang.String roleID)
throws AAManagerException
AAManager
getRole in interface AAManagerroleID - ¿ªÇÒ ID
AAManagerExceptionpublic AAManagerProxy getAAManagerProxy()
AAManager¿¹¸¦ µé¾î, AAManager.openSession() ¸Þ¼Òµå¸¦ »ç¿ëÇÏ°í ½Í´Ù¸é ´ÙÀ½°ú °°Àº Äڵ带 »ç¿ëÇØ¾ß ÇÑ´Ù.
TLEFramework.getAAManagerProxy().openSession(user, request, response);
getAAManagerProxy in interface AAManagerAAManagerProxy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||