Class GoogleFederatedLoginService
java.lang.Object
hudson.security.FederatedLoginService
io.jenkins.plugins.googlegroupsoauth.GoogleFederatedLoginService
- All Implemented Interfaces:
ExtensionPoint
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class GoogleFederatedLoginService
extends FederatedLoginService
Adds the "Sign in with Google" button to the standard Jenkins login page (core's
login.jelly includes loginFragment.jelly of every registered
FederatedLoginService). The username/password form above the button stays fully
functional as the break-glass path — see
GoogleGroupsSecurityRealm.authenticate2(String, String).
Only the login-page fragment of the FederatedLoginService contract is used;
the identity-claiming machinery (getUserPropertyClass()) is not.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.security.FederatedLoginService
FederatedLoginService.FederatedIdentity, FederatedLoginService.UnclaimedIdentityExceptionNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends FederatedLoginServiceUserProperty> booleanThe fragment renders only when this plugin's realm is actually active.Methods inherited from class hudson.security.FederatedLoginService
all
-
Constructor Details
-
GoogleFederatedLoginService
public GoogleFederatedLoginService()
-
-
Method Details
-
isEnabled
public boolean isEnabled()The fragment renders only when this plugin's realm is actually active. -
getUrlName
- Specified by:
getUrlNamein classFederatedLoginService
-
getUserPropertyClass
- Specified by:
getUserPropertyClassin classFederatedLoginService
-