Class FessLoginAssist

java.lang.Object
org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
org.codelibs.fess.app.web.base.login.FessLoginAssist
All Implemented Interfaces:
org.lastaflute.web.login.LoginManager, org.lastaflute.web.login.PrimaryLoginManager

public class FessLoginAssist extends org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser> implements org.lastaflute.web.login.PrimaryLoginManager
Author:
jflute, shinsuke
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.lastaflute.web.login.TypicalLoginAssist

    org.lastaflute.web.login.TypicalLoginAssist.CredentialChecker, org.lastaflute.web.login.TypicalLoginAssist.CredentialDeterminer<CREDENTIAL extends org.lastaflute.web.login.credential.LoginCredential,USER_ENTITY extends Object>, org.lastaflute.web.login.TypicalLoginAssist.CredentialEntityFinder<CREDENTIAL extends org.lastaflute.web.login.credential.LoginCredential,USER_ENTITY extends Object>, org.lastaflute.web.login.TypicalLoginAssist.CredentialResolver, org.lastaflute.web.login.TypicalLoginAssist.RememberMeCookieAgent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    checkCredential(org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>.org.lastaflute.web.login.TypicalLoginAssist.CredentialChecker checker)
     
    protected void
    checkPermission(org.lastaflute.web.login.LoginHandlingResource resource)
     
    boolean
    checkUserLoginable(org.lastaflute.web.login.credential.LoginCredential credential)
     
    protected FessUserBean
     
    protected org.dbflute.optional.OptionalEntity<FessUser>
     
    protected org.dbflute.optional.OptionalEntity<FessUser>
    doFindLoginUser(String username, String cipheredPassword)
     
    protected org.dbflute.optional.OptionalThing<String>
     
    protected Class<?>
     
    protected Class<FessUserBean>
     
    protected void
     
    protected void
    resolveCredential(org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>.org.lastaflute.web.login.TypicalLoginAssist.CredentialResolver resolver)
     
    protected void
    saveLoginHistory(FessUser user, FessUserBean userBean, org.lastaflute.web.login.option.LoginSpecifiedOption option)
     
    protected String
     

    Methods inherited from class org.lastaflute.web.login.TypicalLoginAssist

    adjustRegisteredRememberMeCookie, asLoginRequired, asNonLoginRequired, assertGivenEntityRequired, assertLoginAccountRequired, assertLoginPasswordRequired, assertUserEntityRequired, assertUserIdRequired, buildRememberMeCookieValue, checkLoginRequired, clearLoginRedirectBean, convertCookieUserKeyToUserId, createLoginOption, createLoginRedirectBean, createRememberMeKey, createRememberMeLoginOption, delegateRememberMe, doDelegateRememberMe, doLogin, doLoginByGivenEntity, doLoginByIdentity, doRememberMe, doSaveRememberMeCookie, doTryAlreadyLogin, doTryRememberMe, encryptPassword, findLoginSessionSyncCheckUser, findLoginUser, findLoginUser, findRememberMeCookie, formatForRememberMeExpireDate, generateLoginRedirectBeanKey, getAllowAnyoneAccessAnnotationType, getLoginRedirectBean, getLoginRedirectBeanType, getLoginSessionSyncCheckInterval, getRedirectLoginActionType, getRememberMeAccessTokenExpireDays, getRememberMeCookieAgent, getRememberMeDelimiter, getSavedUserBean, getSaveKeyUserBeanType, getSessionUserBean, getUserBeanKey, givenLogin, handleLoginFailure, handleLoginSessionSyncCheckSuccess, handleLoginSuccess, handleRememberMeCookie, handleRememberMeInvalidCookie, handleUnknownLoginCredential, hasAnnotation, hasAnnotationOnClass, hasAnnotationOnMethod, identityLogin, inheritUserBeanAdditionalInfo, isExplicitAllowAnyoneAccessAction, isImplicitEverybodyOpenAction, isLoginAction, isLoginActionOrRedirectLoginAction, isLoginRedirectBeanKeptAction, isLoginRequiredAction, isRedirectLoginAction, isSilentlyWhenRememberMe, isSuppressLogoutInvalidate, isSuppressRememberMeOfNonLoginRequired, isUpdateTokenWhenRememberMe, isValidRememberMeCookie, login, loginRedirect, logout, needsLoginSessionSyncCheck, needsSavingRequestedLoginRedirect, newLoginFailureException, processOnBrightLogin, processOnSilentLogin, redirectToLoginAction, regenerateSessionId, registerRememberMeCookie, rememberMe, removeRememberMeCookie, reselectSessionUserBeanIfExists, saveLoginInfoToSession, saveRememberMeKeyToCookie, saveRequestedLoginRedirectInfo, switchToRequestedActionIfExists, syncCheckLoginSessionIfNeeds, throwLoginRequiredException, tryAlreadyLoginOrRememberMe

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.lastaflute.web.login.LoginManager

    checkLoginRequired, clearLoginRedirectBean, encryptPassword, findLoginUser, findLoginUser, getLoginRedirectBean, getSavedUserBean, getSaveKeyUserBeanType, getSessionUserBean, givenLogin, identityLogin, isLoginAction, isLoginRequiredAction, login, loginRedirect, logout, redirectToLoginAction, rememberMe, reselectSessionUserBeanIfExists, saveRequestedLoginRedirectInfo, switchToRequestedActionIfExists
  • Constructor Details

    • FessLoginAssist

      public FessLoginAssist()
  • Method Details

    • checkUserLoginable

      public boolean checkUserLoginable(org.lastaflute.web.login.credential.LoginCredential credential)
      Specified by:
      checkUserLoginable in interface org.lastaflute.web.login.LoginManager
      Overrides:
      checkUserLoginable in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • checkCredential

      protected void checkCredential(org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>.org.lastaflute.web.login.TypicalLoginAssist.CredentialChecker checker)
      Specified by:
      checkCredential in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • doFindLoginUser

      protected org.dbflute.optional.OptionalEntity<FessUser> doFindLoginUser(String username)
      Specified by:
      doFindLoginUser in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • createUserBean

      protected FessUserBean createUserBean(FessUser user)
      Specified by:
      createUserBean in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • getCookieRememberMeKey

      protected org.dbflute.optional.OptionalThing<String> getCookieRememberMeKey()
      Specified by:
      getCookieRememberMeKey in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • saveLoginHistory

      protected void saveLoginHistory(FessUser user, FessUserBean userBean, org.lastaflute.web.login.option.LoginSpecifiedOption option)
      Specified by:
      saveLoginHistory in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • insertLogin

      protected void insertLogin(Object member)
    • checkPermission

      protected void checkPermission(org.lastaflute.web.login.LoginHandlingResource resource) throws org.lastaflute.web.login.exception.LoginRequiredException
      Overrides:
      checkPermission in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
      Throws:
      org.lastaflute.web.login.exception.LoginRequiredException
    • getUserBeanType

      protected Class<FessUserBean> getUserBeanType()
      Specified by:
      getUserBeanType in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • getLoginActionType

      protected Class<?> getLoginActionType()
      Specified by:
      getLoginActionType in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • toTypedUserId

      protected String toTypedUserId(String userKey)
      Specified by:
      toTypedUserId in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • resolveCredential

      protected void resolveCredential(org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>.org.lastaflute.web.login.TypicalLoginAssist.CredentialResolver resolver)
      Specified by:
      resolveCredential in class org.lastaflute.web.login.TypicalLoginAssist<String,FessUserBean,FessUser>
    • doFindLoginUser

      protected org.dbflute.optional.OptionalEntity<FessUser> doFindLoginUser(String username, String cipheredPassword)