public long setUserAuthorizeAndPostAuthorizeRequest(AuthorizeRequest authzRequest, AuthorizeRequestPP postAuthzRequest) { UserAuthAttributes userAuthAttr = new UserAuthAttributes(authzRequest, postAuthzRequest); if (this.clientUserAuths == null ) this.initializeClientUserAuths(); return this.clientUserAuths.putUserAuth(userAuthAttr); } //this is backward compability only, if any race condition happens.
public long setUserAuthorizeAndPostAuthorizeRequest(AuthorizeRequest authzRequest, AuthorizeRequestPP postAuthzRequest) { UserAuthAttributes userAuthAttr = new UserAuthAttributes(authzRequest, postAuthzRequest); if (this.clientUserAuths == null ) this.initializeClientUserAuths(); return this.clientUserAuths.putUserAuth(userAuthAttr); } //this is backward compability only, if any race condition happens.
private void resetUserAuthorizeAndPostAuthorizeRequest() { if (AcceptorImpl.isAuthenticationRequired() && (this.handshake.getVersion().compareTo(Version.GFE_65) < 0 || this.getCommunicationMode() == Acceptor.GATEWAY_TO_GATEWAY)) { ClientUserAuths cua = proxyIdVsClientUserAuths.get(this.proxyId); if (cua != this.clientUserAuths) { UserAuthAttributes uaa = this.clientUserAuths.getUserAuthAttributes(this.userAuthId); initializeClientUserAuths(); this.userAuthId = this.clientUserAuths.putUserAuth(uaa); } } }
private void resetUserAuthorizeAndPostAuthorizeRequest() { if (AcceptorImpl.isAuthenticationRequired() && (this.handshake.getVersion().compareTo(Version.GFE_65) < 0 || this.getCommunicationMode() == Acceptor.GATEWAY_TO_GATEWAY)) { ClientUserAuths cua = proxyIdVsClientUserAuths.get(this.proxyId); if (cua != this.clientUserAuths) { UserAuthAttributes uaa = this.clientUserAuths.getUserAuthAttributes(this.userAuthId); initializeClientUserAuths(); this.userAuthId = this.clientUserAuths.putUserAuth(uaa); } } }
private void doHandshake() { //hitesh:to create new connection handshake if (verifyClientConnection()) { // Initialize the commands after the handshake so that the version // can be used. initializeCommands(); initializeClientUserAuths(); } if (TEST_VERSION_AFTER_HANDSHAKE_FLAG) { Assert.assertTrue((this.handshake.getVersion().ordinal() == testVersionAfterHandshake), "Found different version after handshake"); TEST_VERSION_AFTER_HANDSHAKE_FLAG = false; } }
private void doHandshake() { //hitesh:to create new connection handshake if (verifyClientConnection()) { // Initialize the commands after the handshake so that the version // can be used. initializeCommands(); //its initialized in verifyClientConnection call if(getCommunicationMode() != Acceptor.GATEWAY_TO_GATEWAY) initializeClientUserAuths(); } if (TEST_VERSION_AFTER_HANDSHAKE_FLAG) { Assert.assertTrue((this.handshake.getVersion().ordinal() == testVersionAfterHandshake), "Found different version after handshake"); TEST_VERSION_AFTER_HANDSHAKE_FLAG = false; } }