Class IdUVServletCoreAuthenticated
java.lang.Object
com.io7m.idstore.server.user_view.IdUVServletCoreAuthenticated
- All Implemented Interfaces:
IdHTTPServletFunctionalCoreType
public final class IdUVServletCoreAuthenticated
extends Object
implements IdHTTPServletFunctionalCoreType
A core that executes the given core under authentication.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information) Execute the core.withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPServletFunctionalCoreAuthenticatedType<IdSessionUser, IdUser> inCore)
-
Method Details
-
withAuthentication
public static IdHTTPServletFunctionalCoreType withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPServletFunctionalCoreAuthenticatedType<IdSessionUser, IdUser> inCore) - Parameters:
services- The servicesinCore- The executed core- Returns:
- A core that executes the given core under authentication
-
execute
public IdHTTPServletResponseType execute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information) Description copied from interface:IdHTTPServletFunctionalCoreTypeExecute the core.- Specified by:
executein interfaceIdHTTPServletFunctionalCoreType- Parameters:
request- The requestinformation- The extra request information- Returns:
- The response
-