public class SamlService extends AuthorizationEndpointBase
Modifier and Type | Class and Description |
---|---|
class |
SamlService.BindingProtocol |
protected class |
SamlService.PostBindingProtocol |
protected class |
SamlService.RedirectBindingProtocol |
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
authManager, clientConnection, event, headers, realm, request, session, uriInfo
Constructor and Description |
---|
SamlService(RealmModel realm,
EventBuilder event) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor() |
static String |
getIDPMetadataDescriptor(javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
javax.ws.rs.core.Response |
idpInitiatedSSO(String clientUrlName,
String relayState) |
protected javax.ws.rs.core.Response |
newBrowserAuthentication(ClientSessionModel clientSession,
boolean isPassive,
boolean redirectToAuthentication) |
protected javax.ws.rs.core.Response |
newBrowserAuthentication(ClientSessionModel clientSession,
boolean isPassive,
boolean redirectToAuthentication,
SamlProtocol samlProtocol) |
javax.ws.rs.core.Response |
postBinding(String samlRequest,
String samlResponse,
String relayState) |
javax.ws.rs.core.Response |
redirectBinding(String samlRequest,
String samlResponse,
String relayState) |
javax.ws.rs.core.Response |
soapBinding(InputStream inputStream) |
buildRedirectToIdentityProvider, createProcessor, getAuthenticationFlow, handleBrowserAuthenticationRequest
public SamlService(RealmModel realm, EventBuilder event)
protected javax.ws.rs.core.Response newBrowserAuthentication(ClientSessionModel clientSession, boolean isPassive, boolean redirectToAuthentication)
protected javax.ws.rs.core.Response newBrowserAuthentication(ClientSessionModel clientSession, boolean isPassive, boolean redirectToAuthentication, SamlProtocol samlProtocol)
@GET 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)
@GET @Path(value="descriptor") @Produces(value="application/xml") public String getDescriptor() throws Exception
Exception
public static String getIDPMetadataDescriptor(javax.ws.rs.core.UriInfo uriInfo, RealmModel realm) throws IOException
IOException
@GET @Path(value="clients/{client}") @Produces(value="text/html") public javax.ws.rs.core.Response idpInitiatedSSO(@PathParam(value="client") String clientUrlName, @QueryParam(value="RelayState") String relayState)
@POST @Consumes(value={"application/soap+xml","text/xml"}) public javax.ws.rs.core.Response soapBinding(InputStream inputStream)
Copyright © 2016 JBoss by Red Hat. All rights reserved.