keycloak
|
クラス | |
class | BindingProtocol |
class | PostBindingProtocol |
class | RedirectBindingProtocol |
公開メンバ関数 | |
SamlService (RealmModel realm, EventBuilder event, DestinationValidator destinationValidator) | |
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) |
String | getDescriptor () throws Exception |
Response | idpInitiatedSSO (@PathParam("client") String clientUrlName, @QueryParam("RelayState") String relayState) |
AuthenticationSessionModel | getOrCreateLoginSessionForIdpInitiatedSso (KeycloakSession session, RealmModel realm, ClientModel client, String relayState) |
Response | soapBinding (InputStream inputStream) |
静的公開メンバ関数 | |
static String | getIDPMetadataDescriptor (UriInfo uriInfo, KeycloakSession session, RealmModel realm) throws IOException |
静的公開変数類 | |
static final String | APP_INITIATED_FLOW = "APP_INITIATED_FLOW" |
限定公開メンバ関数 | |
Response | newBrowserAuthentication (AuthenticationSessionModel authSession, boolean isPassive, boolean redirectToAuthentication) |
Response | newBrowserAuthentication (AuthenticationSessionModel authSession, boolean isPassive, boolean redirectToAuthentication, SamlProtocol samlProtocol) |
AuthenticationProcessor | createProcessor (AuthenticationSessionModel authSession, String flowId, String flowPath) |
Response | handleBrowserAuthenticationRequest (AuthenticationSessionModel authSession, LoginProtocol protocol, boolean isPassive, boolean redirectToAuthentication) |
AuthenticationFlowModel | getAuthenticationFlow (AuthenticationSessionModel authSession) |
void | checkSsl () |
void | checkRealm () |
AuthenticationSessionModel | createAuthenticationSession (ClientModel client, String requestState) |
限定公開変数類 | |
RealmModel | realm |
EventBuilder | event |
AuthenticationManager | authManager |
HttpHeaders | headers |
HttpRequest | httpRequest |
KeycloakSession | session |
ClientConnection | clientConnection |
静的限定公開変数類 | |
static final Logger | logger = Logger.getLogger(SamlService.class) |
静的非公開メンバ関数 | |
static void | addKeyInfo (StringBuilder target, RsaKeyMetadata key, String purpose) |
非公開変数類 | |
final DestinationValidator | destinationValidator |
Resource class for the saml connect token service
|
inline |
|
inlinestaticprivate |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
|
inlinestatic |
|
inline |
Creates a client session object for SAML IdP-initiated SSO session. The session takes the parameters from from client definition, namely binding type and redirect URL.
session | KC session |
realm | Realm to create client session in |
client | Client to create client session for |
relayState | Optional relay state - free field as per SAML specification |
|
inlineprotectedinherited |
Common method to handle browser authentication request in protocols unified way.
authSession | for current request |
protocol | handler for protocol used to initiate login |
isPassive | set to true if login should be passive (without login screen shown) |
redirectToAuthentication | if true redirect to flow url. If initial call to protocol is a POST, you probably want to do this. This is so we can disable the back button on browser |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotected |
|
protectedinherited |
|
protectedinherited |