Class SsoTokenConfigurator
- java.lang.Object
-
- javax.websocket.ClientEndpointConfig.Configurator
-
- org.forgerock.openig.tools.notifications.ws.tyrus.SsoTokenConfigurator
-
public class SsoTokenConfigurator extends javax.websocket.ClientEndpointConfig.Configurator
Add an agent's SSO Token into the initial HTTP request.
-
-
Constructor Summary
Constructors Constructor Description SsoTokenConfigurator(String headerName, String token)
Constructs aClientEndpointConfig.Configurator
that would inject the giventoken
value in the providedheaderName
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeRequest(Map<String,List<String>> headers)
-