public class SamlService extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SamlService.BindingProtocol |
protected class |
SamlService.PostBindingProtocol |
protected class |
SamlService.RedirectBindingProtocol |
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationManager |
authManager |
protected ClientConnection |
clientConnection |
protected javax.ws.rs.core.HttpHeaders |
headers |
protected static org.jboss.logging.Logger |
logger |
protected javax.ws.rs.ext.Providers |
providers |
protected RealmModel |
realm |
protected org.jboss.resteasy.spi.HttpRequest |
request |
protected org.jboss.resteasy.spi.HttpResponse |
response |
protected javax.ws.rs.core.SecurityContext |
securityContext |
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
SamlService(RealmModel realm,
EventBuilder event,
AuthenticationManager authManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptor() |
javax.ws.rs.core.Response |
postBinding(String samlRequest,
String samlResponse,
String relayState) |
javax.ws.rs.core.Response |
redirectBinding(String samlRequest,
String samlResponse,
String relayState) |
protected static final org.jboss.logging.Logger logger
protected RealmModel realm
protected AuthenticationManager authManager
@Context protected javax.ws.rs.ext.Providers providers
@Context protected javax.ws.rs.core.SecurityContext securityContext
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected javax.ws.rs.core.HttpHeaders headers
@Context protected org.jboss.resteasy.spi.HttpRequest request
@Context protected org.jboss.resteasy.spi.HttpResponse response
@Context protected KeycloakSession session
@Context protected ClientConnection clientConnection
public SamlService(RealmModel realm, EventBuilder event, AuthenticationManager authManager)
@GET
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response redirectBinding(@QueryParam(value="SAMLRequest")
String samlRequest,
@QueryParam(value="SAMLResponse")
String samlResponse,
@QueryParam(value="RelayState")
String relayState)
@POST
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response postBinding(@FormParam(value="SAMLRequest")
String samlRequest,
@FormParam(value="SAMLResponse")
String samlResponse,
@FormParam(value="RelayState")
String relayState)
Copyright © 2014. All Rights Reserved.