keycloak-service
クラス | 公開メンバ関数 | 静的公開変数類 | 限定公開変数類 | 静的限定公開変数類 | 非公開変数類 | 全メンバ一覧
org.keycloak.broker.saml.SAMLEndpoint クラス
org.keycloak.broker.saml.SAMLEndpoint 連携図
Collaboration graph

クラス

class  Binding
 
class  PostBinding
 
class  RedirectBinding
 

公開メンバ関数

 SAMLEndpoint (RealmModel realm, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator)
 
Response getSPDescriptor ()
 
Response redirectBinding (@QueryParam(GeneralConstants.SAML_REQUEST_KEY) String samlRequest, @QueryParam(GeneralConstants.SAML_RESPONSE_KEY) String samlResponse, @QueryParam(GeneralConstants.RELAY_STATE) String relayState)
 
Response postBinding (@FormParam(GeneralConstants.SAML_REQUEST_KEY) String samlRequest, @FormParam(GeneralConstants.SAML_RESPONSE_KEY) String samlResponse, @FormParam(GeneralConstants.RELAY_STATE) String relayState)
 
Response redirectBinding (@QueryParam(GeneralConstants.SAML_REQUEST_KEY) String samlRequest, @QueryParam(GeneralConstants.SAML_RESPONSE_KEY) String samlResponse, @QueryParam(GeneralConstants.RELAY_STATE) String relayState, @PathParam("client_id") String clientId)
 
Response postBinding (@FormParam(GeneralConstants.SAML_REQUEST_KEY) String samlRequest, @FormParam(GeneralConstants.SAML_RESPONSE_KEY) String samlResponse, @FormParam(GeneralConstants.RELAY_STATE) String relayState, @PathParam("client_id") String clientId)
 

静的公開変数類

static final String SAML_FEDERATED_SESSION_INDEX = "SAML_FEDERATED_SESSION_INDEX"
 
static final String SAML_FEDERATED_SUBJECT = "SAML_FEDERATED_SUBJECT"
 
static final String SAML_FEDERATED_SUBJECT_NAMEFORMAT = "SAML_FEDERATED_SUBJECT_NAMEFORMAT"
 
static final String SAML_LOGIN_RESPONSE = "SAML_LOGIN_RESPONSE"
 
static final String SAML_ASSERTION = "SAML_ASSERTION"
 
static final String SAML_IDP_INITIATED_CLIENT_ID = "SAML_IDP_INITIATED_CLIENT_ID"
 
static final String SAML_AUTHN_STATEMENT = "SAML_AUTHN_STATEMENT"
 

限定公開変数類

RealmModel realm
 
EventBuilder event
 
SAMLIdentityProviderConfig config
 
IdentityProvider.AuthenticationCallback callback
 
SAMLIdentityProvider provider
 

静的限定公開変数類

static final Logger logger = Logger.getLogger(SAMLEndpoint.class)
 

非公開変数類

final DestinationValidator destinationValidator
 
KeycloakSession session
 
ClientConnection clientConnection
 
HttpHeaders headers
 

詳解

著者
Bill Burke
バージョン
Revision
1

構築子と解体子

◆ SAMLEndpoint()

org.keycloak.broker.saml.SAMLEndpoint.SAMLEndpoint ( RealmModel  realm,
SAMLIdentityProvider  provider,
SAMLIdentityProviderConfig  config,
IdentityProvider.AuthenticationCallback  callback,
DestinationValidator  destinationValidator 
)
inline
129  {
130  this.realm = realm;
131  this.config = config;
132  this.callback = callback;
133  this.provider = provider;
135  }
RealmModel realm
Definition: SAMLEndpoint.java:112
final DestinationValidator destinationValidator
Definition: SAMLEndpoint.java:117
IdentityProvider.AuthenticationCallback callback
Definition: SAMLEndpoint.java:115
SAMLIdentityProvider provider
Definition: SAMLEndpoint.java:116
SAMLIdentityProviderConfig config
Definition: SAMLEndpoint.java:114

関数詳解

◆ getSPDescriptor()

Response org.keycloak.broker.saml.SAMLEndpoint.getSPDescriptor ( )
inline
140  {
141  return provider.export(session.getContext().getUri(), realm, null);
142  }
RealmModel realm
Definition: SAMLEndpoint.java:112
SAMLIdentityProvider provider
Definition: SAMLEndpoint.java:116
KeycloakSession session
Definition: SAMLEndpoint.java:120
Response export(UriInfo uriInfo, RealmModel realm, String format)
Definition: SAMLIdentityProvider.java:213

◆ postBinding() [1/2]

Response org.keycloak.broker.saml.SAMLEndpoint.postBinding ( @FormParam(GeneralConstants.SAML_REQUEST_KEY) String  samlRequest,
@FormParam(GeneralConstants.SAML_RESPONSE_KEY) String  samlResponse,
@FormParam(GeneralConstants.RELAY_STATE) String  relayState 
)
inline
158  {
159  return new PostBinding().execute(samlRequest, samlResponse, relayState, null);
160  }

◆ postBinding() [2/2]

Response org.keycloak.broker.saml.SAMLEndpoint.postBinding ( @FormParam(GeneralConstants.SAML_REQUEST_KEY) String  samlRequest,
@FormParam(GeneralConstants.SAML_RESPONSE_KEY) String  samlResponse,
@FormParam(GeneralConstants.RELAY_STATE) String  relayState,
@PathParam("client_id") String  clientId 
)
inline
180  {
181  return new PostBinding().execute(samlRequest, samlResponse, relayState, clientId);
182  }

◆ redirectBinding() [1/2]

Response org.keycloak.broker.saml.SAMLEndpoint.redirectBinding ( @QueryParam(GeneralConstants.SAML_REQUEST_KEY) String  samlRequest,
@QueryParam(GeneralConstants.SAML_RESPONSE_KEY) String  samlResponse,
@QueryParam(GeneralConstants.RELAY_STATE) String  relayState 
)
inline
147  {
148  return new RedirectBinding().execute(samlRequest, samlResponse, relayState, null);
149  }

◆ redirectBinding() [2/2]

Response org.keycloak.broker.saml.SAMLEndpoint.redirectBinding ( @QueryParam(GeneralConstants.SAML_REQUEST_KEY) String  samlRequest,
@QueryParam(GeneralConstants.SAML_RESPONSE_KEY) String  samlResponse,
@QueryParam(GeneralConstants.RELAY_STATE) String  relayState,
@PathParam("client_id") String  clientId 
)
inline
167  {
168  return new RedirectBinding().execute(samlRequest, samlResponse, relayState, clientId);
169  }

メンバ詳解

◆ callback

IdentityProvider.AuthenticationCallback org.keycloak.broker.saml.SAMLEndpoint.callback
protected

◆ clientConnection

ClientConnection org.keycloak.broker.saml.SAMLEndpoint.clientConnection
private

◆ config

SAMLIdentityProviderConfig org.keycloak.broker.saml.SAMLEndpoint.config
protected

◆ destinationValidator

final DestinationValidator org.keycloak.broker.saml.SAMLEndpoint.destinationValidator
private

◆ event

EventBuilder org.keycloak.broker.saml.SAMLEndpoint.event
protected

◆ headers

HttpHeaders org.keycloak.broker.saml.SAMLEndpoint.headers
private

◆ logger

final Logger org.keycloak.broker.saml.SAMLEndpoint.logger = Logger.getLogger(SAMLEndpoint.class)
staticprotected

◆ provider

SAMLIdentityProvider org.keycloak.broker.saml.SAMLEndpoint.provider
protected

◆ realm

RealmModel org.keycloak.broker.saml.SAMLEndpoint.realm
protected

◆ SAML_ASSERTION

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_ASSERTION = "SAML_ASSERTION"
static

◆ SAML_AUTHN_STATEMENT

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_AUTHN_STATEMENT = "SAML_AUTHN_STATEMENT"
static

◆ SAML_FEDERATED_SESSION_INDEX

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_FEDERATED_SESSION_INDEX = "SAML_FEDERATED_SESSION_INDEX"
static

◆ SAML_FEDERATED_SUBJECT

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_FEDERATED_SUBJECT = "SAML_FEDERATED_SUBJECT"
static

◆ SAML_FEDERATED_SUBJECT_NAMEFORMAT

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_FEDERATED_SUBJECT_NAMEFORMAT = "SAML_FEDERATED_SUBJECT_NAMEFORMAT"
static

◆ SAML_IDP_INITIATED_CLIENT_ID

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_IDP_INITIATED_CLIENT_ID = "SAML_IDP_INITIATED_CLIENT_ID"
static

◆ SAML_LOGIN_RESPONSE

final String org.keycloak.broker.saml.SAMLEndpoint.SAML_LOGIN_RESPONSE = "SAML_LOGIN_RESPONSE"
static

◆ session

KeycloakSession org.keycloak.broker.saml.SAMLEndpoint.session
private

このクラス詳解は次のファイルから抽出されました: