Merge pull request #2285 from mhajas/fixSAMLTest
Fix parentheses in login page object
This commit is contained in:
commit
6fae1c6411
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public abstract class Login extends AuthRealm {
|
|||
@Override
|
||||
public UriBuilder createUriBuilder() {
|
||||
return super.createUriBuilder()
|
||||
.path((getProtocol().equals(OIDC) || getProtocol().equals(SAML)) ? "protocol/" : "" + "{" + PROTOCOL + "}" + (getProtocol().equals(OIDC) ? "/auth" : ""));
|
||||
.path(((getProtocol().equals(OIDC) || getProtocol().equals(SAML)) ? "protocol/" : "") + "{" + PROTOCOL + "}" + (getProtocol().equals(OIDC) ? "/auth" : ""));
|
||||
}
|
||||
|
||||
public void setProtocol(String protocol) {
|
||||
|
|
Loading…
Reference in a new issue