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:
parent
fcef8e1c15
commit
cd849dc23b
|
@ -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
|
* Create empty Authorization Credential
|
||||||
|
@ -270,4 +270,13 @@ public class MAuthorizationCredential extends X_AD_AuthorizationCredential {
|
||||||
return urlBuilder.length() > 0 ? urlBuilder.toString() : null;
|
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
|
} // MAuthorizationCredential
|
||||||
|
|
Loading…
Reference in New Issue