Package org.odpi.openmetadata.userauthn
Class LogoutController
java.lang.Object
org.odpi.openmetadata.userauthn.LogoutController
LogoutController provides the REST API to log out a user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplatformLogout(jakarta.servlet.http.HttpServletRequest request) Remove details of the token.voidserverLogout(String serverName) Remove details of the token.
-
Constructor Details
-
LogoutController
public LogoutController()
-
-
Method Details
-
platformLogout
@GetMapping("/api/token/logout") public void platformLogout(jakarta.servlet.http.HttpServletRequest request) throws org.springframework.web.client.HttpClientErrorException Remove details of the token.- Parameters:
request- HTTP request- Throws:
org.springframework.web.client.HttpClientErrorException- problem with the request
-
serverLogout
@GetMapping("/servers/{serverName}/api/token/logout") public void serverLogout(@PathVariable String serverName) throws org.springframework.web.client.HttpClientErrorException Remove details of the token.- Parameters:
serverName- HTTP request- Throws:
org.springframework.web.client.HttpClientErrorException- problem with the request
-