Class OpenIdLoginService
java.lang.Object
hudson.security.FederatedLoginService
hudson.plugins.openid.OpenIdLoginService
- All Implemented Interfaces:
ExtensionPoint
Augments other
SecurityRealm by allowing login via OpenID.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassNested classes/interfaces inherited from class FederatedLoginService
FederatedLoginService.FederatedIdentity, FederatedLoginService.UnclaimedIdentityExceptionNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoFinish(org.kohsuke.stapler.StaplerRequest2 request) org.kohsuke.stapler.HttpResponsedoStartAssociate(String openid, String openid_identifier) org.kohsuke.stapler.HttpResponsedoStartLogin(String openid, String openid_identifier, String from) Commence a login.Class<? extends FederatedLoginServiceUserProperty> booleanvoidsetDisabled(boolean isDisabled) Deprecated.static voidsetDisabledGlobal(boolean isDisabled) Globally sets the disabled flag onOpenIdLoginServiceinstances.Methods inherited from class FederatedLoginService
all
-
Constructor Details
-
OpenIdLoginService
public OpenIdLoginService()
-
-
Method Details
-
isDisabled
public boolean isDisabled() -
setDisabled
Deprecated.Globally sets the disabled flag onOpenIdLoginServiceinstances.- Parameters:
isDisabled- Flag to be set
-
setDisabledGlobal
public static void setDisabledGlobal(boolean isDisabled) Globally sets the disabled flag onOpenIdLoginServiceinstances.- Parameters:
isDisabled- Flag to be set- Since:
- TODO
-
getUrlName
- Specified by:
getUrlNamein classFederatedLoginService
-
getUserPropertyClass
- Specified by:
getUserPropertyClassin classFederatedLoginService
-
doStartLogin
public org.kohsuke.stapler.HttpResponse doStartLogin(@QueryParameter String openid, @QueryParameter String openid_identifier, @QueryParameter String from) throws org.openid4java.OpenIDException, IOException Commence a login.- Throws:
org.openid4java.OpenIDExceptionIOException
-
doFinish
public org.kohsuke.stapler.HttpResponse doFinish(org.kohsuke.stapler.StaplerRequest2 request) throws IOException, org.openid4java.OpenIDException - Throws:
IOExceptionorg.openid4java.OpenIDException
-
doStartAssociate
public org.kohsuke.stapler.HttpResponse doStartAssociate(@QueryParameter String openid, @QueryParameter String openid_identifier) throws org.openid4java.OpenIDException, IOException - Throws:
org.openid4java.OpenIDExceptionIOException
-
setDisabledGlobal(boolean)