Class UserInfoExtension
java.lang.Object
hudson.plugins.openid.OpenIdExtension
hudson.plugins.openid.impl.UserInfoExtension
- All Implemented Interfaces:
ExtensionPoint
- Author:
- Paul Sandoz
-
Nested Class Summary
Nested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextend(org.openid4java.message.AuthRequest authRequest) Extend the authentication request.voidextendFetch(org.openid4java.message.ax.FetchRequest fetch) voidProcess the authentication success.Methods inherited from class OpenIdExtension
all, extendRequest, getMessageAs, isApplicable, processResponse
-
Constructor Details
-
UserInfoExtension
public UserInfoExtension()
-
-
Method Details
-
extendFetch
public void extendFetch(org.openid4java.message.ax.FetchRequest fetch) throws org.openid4java.message.MessageException - Overrides:
extendFetchin classOpenIdExtension- Throws:
org.openid4java.message.MessageException
-
extend
public void extend(org.openid4java.message.AuthRequest authRequest) throws org.openid4java.message.MessageException Description copied from class:OpenIdExtensionExtend the authentication request.The implementation may add extensions to
authRequestusingMessage.addExtension(org.openid4java.message.MessageExtension).- Specified by:
extendin classOpenIdExtension- 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:OpenIdExtensionProcess the authentication success.The implementation may extract
MessageExtensionimplementations fromauthSuccessand add information toid.- Specified by:
processin classOpenIdExtension- Parameters:
authSuccess- the authentication success.id- the identity.- Throws:
org.openid4java.message.MessageException- if there is a message error processing the success.
-