IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) / add context discovery to AD_AuthorizationCredential.AuthorizationRedirectURL (#854)

FHCA-3026
This commit is contained in:
Carlos Ruiz 2021-08-30 18:25:41 +02:00 committed by GitHub
parent fcef8e1c15
commit cd849dc23b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class MAuthorizationCredential extends X_AD_AuthorizationCredential {
/**
*
*/
private static final long serialVersionUID = -3318054439833405030L;
private static final long serialVersionUID = -5410915257751308490L;
/**
* Create empty Authorization Credential
@ -270,4 +270,13 @@ public class MAuthorizationCredential extends X_AD_AuthorizationCredential {
return urlBuilder.length() > 0 ? urlBuilder.toString() : null;
}
/**
* Get Authorization Redirect URL parsing context variables
* @return Authorization Redirect URL
*/
@Override
public String getAuthorizationRedirectURL() {
return Env.parseContext(getCtx(), 0, super.getAuthorizationRedirectURL(), false, false);
}
} // MAuthorizationCredential