hudson.plugins.openid
Class OpenIdLoginService

java.lang.Object
  extended by hudson.security.FederatedLoginService
      extended by hudson.plugins.openid.OpenIdLoginService
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class OpenIdLoginService
extends hudson.security.FederatedLoginService

Author:
Kohsuke Kawaguchi

Nested Class Summary
 class OpenIdLoginService.IdentityImpl
           
 
Nested classes/interfaces inherited from class hudson.security.FederatedLoginService
hudson.security.FederatedLoginService.FederatedIdentity, hudson.security.FederatedLoginService.UnclaimedIdentityException
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
OpenIdLoginService()
           
 
Method Summary
 org.kohsuke.stapler.HttpResponse doFinish(org.kohsuke.stapler.StaplerRequest request)
           
 org.kohsuke.stapler.HttpResponse doStartAssociate(java.lang.String openid)
           
 org.kohsuke.stapler.HttpResponse doStartLogin(java.lang.String openid, java.lang.String from)
          Commence a login.
 java.lang.String getUrlName()
           
 java.lang.Class<? extends hudson.security.FederatedLoginServiceUserProperty> getUserPropertyClass()
           
 
Methods inherited from class hudson.security.FederatedLoginService
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIdLoginService

public OpenIdLoginService()
                   throws org.openid4java.consumer.ConsumerException
Throws:
org.openid4java.consumer.ConsumerException
Method Detail

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in class hudson.security.FederatedLoginService

getUserPropertyClass

public java.lang.Class<? extends hudson.security.FederatedLoginServiceUserProperty> getUserPropertyClass()
Specified by:
getUserPropertyClass in class hudson.security.FederatedLoginService

doStartLogin

public org.kohsuke.stapler.HttpResponse doStartLogin(@QueryParameter
                                                     java.lang.String openid,
                                                     @QueryParameter
                                                     java.lang.String from)
                                              throws org.openid4java.OpenIDException,
                                                     java.io.IOException
Commence a login.

Throws:
org.openid4java.OpenIDException
java.io.IOException

doFinish

public org.kohsuke.stapler.HttpResponse doFinish(org.kohsuke.stapler.StaplerRequest request)
                                          throws java.io.IOException,
                                                 org.openid4java.OpenIDException
Throws:
java.io.IOException
org.openid4java.OpenIDException

doStartAssociate

public org.kohsuke.stapler.HttpResponse doStartAssociate(@QueryParameter
                                                         java.lang.String openid)
                                                  throws org.openid4java.OpenIDException,
                                                         java.io.IOException
Throws:
org.openid4java.OpenIDException
java.io.IOException


Copyright © 2004-2011. All Rights Reserved.