| Class | OmniAuth::Strategies::Crowd::Configuration |
| In: |
lib/omniauth/strategies/crowd/configuration.rb
|
| Parent: | Object |
| DEFAULT_SESSION_URL | = | "%s/rest/usermanagement/latest/session" |
| DEFAULT_AUTHENTICATION_URL | = | "%s/rest/usermanagement/latest/authentication" |
| DEFAULT_USER_GROUP_URL | = | "%s/rest/usermanagement/latest/user/group/direct" |
| DEFAULT_CONTENT_TYPE | = | 'application/xml' |
| DEFAULT_SESSION_COOKIE | = | 'crowd.token_key' |
| IS_NOT_URL_ERROR_MESSAGE | = | "%s is not a valid URL" |
| disable_ssl_verification | -> | "disable_ssl_verification?" |
| include_users_groups | -> | "include_users_groups?" |
| use_sessions | -> | "use_sessions?" |
| content_type | [R] | |
| crowd_application_name | [R] | |
| crowd_password | [R] | |
| disable_ssl_verification | [R] | |
| include_users_groups | [R] | |
| session_cookie | [R] | |
| session_url | [R] | |
| sso_url | [R] | |
| sso_url_image | [R] | |
| use_sessions | [R] |
@param [Hash] params configuration options @option params [String, nil] :crowd_server_url the Crowd server root URL; probably something like
`https://crowd.mycompany.com` or `https://crowd.mycompany.com/crowd`; optional.
@option params [String, nil] :crowd_authentication_url (:crowd_server_url + ’/rest/usermanagement/latest/authentication’) the URL to which to
use for authenication; optional if `:crowd_server_url` is specified,
required otherwise.
@option params [String, nil] :application_name the application name specified in Crowd for this application, required. @option params [String, nil] :application_password the application password specified in Crowd for this application, required. @option params [Boolean, nil] :disable_ssl_verification disable verification for SSL cert,
helpful when you developing with a fake cert.
@option params [Boolean, true] : include a list of user groups when getting information ont he user @option params [String, nil] :crowd_user_group_url (:crowd_server_url + ’/rest/usermanagement/latest/user/group/direct’) the URL to which to
use for retrieving users groups optional if `:crowd_server_url` is specified, or if `:include_user_groups` is false
required otherwise.
@option params [Boolean, false] :use_sessions Use Crowd sessions. If the user logins with user and password create a new Crowd session. Update the session if only a session token is sent (Cookie name set by option session_cookie) @option params [String, ‘crowd.token_key’] :session_cookie Session cookie name. Defaults to: ‘crowd.token_key’ @option params [String, nil] :sso_url URL of the external SSO page. If this parameter is defined the login form will have a link which will redirect to the SSO page. The SSO must return to the URL of the page using omniauth_crowd (Path portion ’/users/auth/crowd/callback’ is appended to the URL) @option params [String, nil] :sso_url_image Optional image URL to be used in SSO link in the login form
Build a Crowd authentication URL from username.
@param [String] username the username to validate
@return [String] a URL like `crowd.myhost.com/crowd/rest/usermanagement/latest/authentication?username=USERNAME`