[ 
https://issues.apache.org/jira/browse/TOMEE-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Jung updated TOMEE-4584:
-------------------------------
    Description: 
See spec/javadoc of OpenIdAuthenticationMechanismDefinition:

 
{code:java}
/**
 * Optional. Automatically redirects the caller (the end-user) from
 * the redirect URI defined by the <code>redirectURI</code> attribute
 * to the resource the end-user originally requested in a "login to continue"
 * scenario.
 *
 * <p>
 * After arriving at the original requested resource, the runtime restores
 * the request as it originally happened, including cookies, headers, the
 * request method and the request parameters in the same way as done when
 * using the {@link LoginToContinue} feature.
 *
 * @return
 */
boolean redirectToOriginalResource() default false; {code}
 

The following methods do not work as intended with redirectToOriginalResource:
 * getParameterNames()
 * getParameterValues(String name)
 * getParameter(String name)
 * getParameterMap()

  was:
See spec/javadoc of OpenIdAuthenticationMechanismDefinition:

 
{code:java}
/**
 * Optional. Automatically redirects the caller (the end-user) from
 * the redirect URI defined by the <code>redirectURI</code> attribute
 * to the resource the end-user originally requested in a "login to continue"
 * scenario.
 *
 * <p>
 * After arriving at the original requested resource, the runtime restores
 * the request as it originally happened, including cookies, headers, the
 * request method and the request parameters in the same way as done when
 * using the {@link LoginToContinue} feature.
 *
 * @return
 */
boolean redirectToOriginalResource() default false; {code}


> OpenIdAuthenticationMechanism redirectToOriginalResource does not restore 
> parameterMap
> --------------------------------------------------------------------------------------
>
>                 Key: TOMEE-4584
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4584
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 10.1.4
>            Reporter: Markus Jung
>            Assignee: Markus Jung
>            Priority: Major
>
> See spec/javadoc of OpenIdAuthenticationMechanismDefinition:
>  
> {code:java}
> /**
>  * Optional. Automatically redirects the caller (the end-user) from
>  * the redirect URI defined by the <code>redirectURI</code> attribute
>  * to the resource the end-user originally requested in a "login to continue"
>  * scenario.
>  *
>  * <p>
>  * After arriving at the original requested resource, the runtime restores
>  * the request as it originally happened, including cookies, headers, the
>  * request method and the request parameters in the same way as done when
>  * using the {@link LoginToContinue} feature.
>  *
>  * @return
>  */
> boolean redirectToOriginalResource() default false; {code}
>  
> The following methods do not work as intended with redirectToOriginalResource:
>  * getParameterNames()
>  * getParameterValues(String name)
>  * getParameter(String name)
>  * getParameterMap()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to