hudson.plugins.openid.impl
Class TeamsExtension

java.lang.Object
  extended by hudson.plugins.openid.OpenIdExtension
      extended by hudson.plugins.openid.impl.TeamsExtension
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class TeamsExtension
extends OpenIdExtension

Use the OpenID team extension (https://dev.launchpad.net/OpenIDTeams) to obtain membership.

Author:
Paul Sandoz

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TeamsExtension()
           
 
Method Summary
 void extend(org.openid4java.message.AuthRequest authRequest)
          Extend the authentication request.
 void process(org.openid4java.message.AuthSuccess authSuccess, Identity id)
          Process the authentication success.
 
Methods inherited from class hudson.plugins.openid.OpenIdExtension
all, extendRequest, getMessageAs, processResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamsExtension

public TeamsExtension()
Method Detail

extend

public void extend(org.openid4java.message.AuthRequest authRequest)
            throws org.openid4java.message.MessageException
Description copied from class: OpenIdExtension
Extend the authentication request.

The implementation may add extensions to authRequest using Message.addExtension(org.openid4java.message.MessageExtension).

Specified by:
extend in class OpenIdExtension
Parameters:
authRequest - the authentication request
Throws:
org.openid4java.message.MessageException - if there is a message error extending the request

process

public void process(org.openid4java.message.AuthSuccess authSuccess,
                    Identity id)
             throws org.openid4java.message.MessageException
Description copied from class: OpenIdExtension
Process the authentication success.

The implementation may extract MessageExtension implementations from authSuccess and add information to id.

Specified by:
process in class OpenIdExtension
Parameters:
authSuccess - the authentication success.
id - the identity.
Throws:
org.openid4java.message.MessageException - if there is a message error processing the success.


Copyright © 2004-2012. All Rights Reserved.