Class TeamsExtension

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

@Extension public class TeamsExtension extends OpenIdExtension
Use the OpenID team extension (https://dev.launchpad.net/OpenIDTeams) to obtain membership.
Author:
Paul Sandoz
  • Field Details

    • DISABLE

      public static boolean DISABLE
      Escape hatch for people affected by JENKINS-14843 until we switch to POST.
  • Constructor Details

    • TeamsExtension

      public TeamsExtension()
  • Method Details

    • 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.