@Component(value="wicketBasicSessionAuthService") public class WicketBasicSessionAuthService<U extends User,S extends BasicSession> extends AbstractSessionAuthService<U,S>
BasicSession
specific implementation of AbstractSessionAuthService
WicketBasicSessionAuthService
as this is the main logic service
and that is a WebSerivice wrapper.Constructor and Description |
---|
WicketBasicSessionAuthService() |
Modifier and Type | Method and Description |
---|---|
S |
getSession() |
UserService<User,?> |
getUserService()
Handle to the
UserService backing this |
S |
setSessionFromUserDetails(U user,
AuthenticationToken authToken)
Chance to replace the Session Object itself
|
void |
setUserService(UserService<User,?> userService) |
void |
signOut(S session) |
getPassword, getUserDetailsToLoadInSession, getUserType, processSessionOnLogin, signIn, userValidation
public S setSessionFromUserDetails(U user, AuthenticationToken authToken)
setSessionFromUserDetails
in class AbstractSessionAuthService<U extends User,S extends BasicSession>
authToken
- as AuthenticationToken
, indicating there was successful Authentication with any Auth related details in it.<S>
public void signOut(S session)
signOut
in class AbstractSessionAuthService<U extends User,S extends BasicSession>
public S getSession()
getSession
in class AbstractSessionAuthService<U extends User,S extends BasicSession>
public UserService<User,?> getUserService()
AbstractSessionAuthService
UserService
backing thisgetUserService
in class AbstractSessionAuthService<U extends User,S extends BasicSession>
Autowired
to "userService"public void setUserService(UserService<User,?> userService)
Autowired
to "userService"Copyright © 2018. All rights reserved.