public class SAMLEndpoint extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
SAMLEndpoint.Binding |
protected class |
SAMLEndpoint.PostBinding |
protected class |
SAMLEndpoint.RedirectBinding |
Modifier and Type | Field and Description |
---|---|
protected IdentityProvider.AuthenticationCallback |
callback |
protected SAMLIdentityProviderConfig |
config |
protected EventBuilder |
event |
protected static org.jboss.logging.Logger |
logger |
protected SAMLIdentityProvider |
provider |
protected RealmModel |
realm |
static String |
SAML_ASSERTION |
static String |
SAML_AUTHN_STATEMENT |
static String |
SAML_FEDERATED_SESSION_INDEX |
static String |
SAML_FEDERATED_SUBJECT
Deprecated.
|
static String |
SAML_FEDERATED_SUBJECT_NAMEFORMAT
Deprecated.
|
static String |
SAML_FEDERATED_SUBJECT_NAMEID |
static String |
SAML_IDP_INITIATED_CLIENT_ID |
static String |
SAML_LOGIN_RESPONSE |
Constructor and Description |
---|
SAMLEndpoint(RealmModel realm,
SAMLIdentityProvider provider,
SAMLIdentityProviderConfig config,
IdentityProvider.AuthenticationCallback callback,
DestinationValidator destinationValidator) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getSPDescriptor() |
javax.ws.rs.core.Response |
postBinding(String samlRequest,
String samlResponse,
String relayState) |
javax.ws.rs.core.Response |
postBinding(String samlRequest,
String samlResponse,
String relayState,
String clientId) |
javax.ws.rs.core.Response |
redirectBinding(String samlRequest,
String samlResponse,
String relayState) |
javax.ws.rs.core.Response |
redirectBinding(String samlRequest,
String samlResponse,
String relayState,
String clientId) |
protected static final org.jboss.logging.Logger logger
public static final String SAML_FEDERATED_SESSION_INDEX
@Deprecated public static final String SAML_FEDERATED_SUBJECT
@Deprecated public static final String SAML_FEDERATED_SUBJECT_NAMEFORMAT
public static final String SAML_FEDERATED_SUBJECT_NAMEID
public static final String SAML_LOGIN_RESPONSE
public static final String SAML_ASSERTION
public static final String SAML_IDP_INITIATED_CLIENT_ID
public static final String SAML_AUTHN_STATEMENT
protected RealmModel realm
protected EventBuilder event
protected SAMLIdentityProviderConfig config
protected IdentityProvider.AuthenticationCallback callback
protected SAMLIdentityProvider provider
public SAMLEndpoint(RealmModel realm, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator)
@GET @Path(value="descriptor") public javax.ws.rs.core.Response getSPDescriptor()
@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)
@Path(value="clients/{client_id}") @GET public javax.ws.rs.core.Response redirectBinding(@QueryParam(value="SAMLRequest") String samlRequest, @QueryParam(value="SAMLResponse") String samlResponse, @QueryParam(value="RelayState") String relayState, @PathParam(value="client_id") String clientId)
@Path(value="clients/{client_id}") @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, @PathParam(value="client_id") String clientId)
Copyright © 2020 JBoss by Red Hat. All rights reserved.