Class TemporarySignup
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.extrausermgt.authentication.oidc.endofauthenticationprocess.EndOfAuthenticationProcess
org.ametys.plugins.extrausermgt.authentication.oidc.endofauthenticationprocess.TemporarySignup
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Entry point of the end of the authentication process
-
Field Summary
Fields inherited from class org.ametys.plugins.extrausermgt.authentication.oidc.endofauthenticationprocess.EndOfAuthenticationProcess
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(ServiceManager serviceManager) void
unexistingUser
(String login, String firstName, String lastName, UserPopulation userPopulation, Redirector redirector, Request request) The user has been authenticated but we might need to sign him inMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
TemporarySignup
public TemporarySignup()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
unexistingUser
public void unexistingUser(String login, String firstName, String lastName, UserPopulation userPopulation, Redirector redirector, Request request) throws AccessDeniedException, ServiceUnavailableException Description copied from class:EndOfAuthenticationProcess
The user has been authenticated but we might need to sign him in- Overrides:
unexistingUser
in classEndOfAuthenticationProcess
- Parameters:
login
- The email address of the userfirstName
- The user's first namelastName
- The user's last nameuserPopulation
- The user populationredirector
- A redirectorrequest
- The requests- Throws:
AccessDeniedException
- If an error occursServiceUnavailableException
- If the server is in maintenance mode
-