Hi, Our application has two modules/components. One is Appian, and second

Hi,
Our application has two modules/components. One is Appian, and second is a portal written in .NET. We have all our users in the Appian. For authentication in .NET portal we wanted to use users from Appian environment.
As we don’t have any WS api with Appian for this, we decided to write an axis plugin which exposes a service with a single method called “authenticate”, taking username and password as parameters. If credential succeeds, we fetch and return the user groups. If it fails, we throw custom exception.
Now, all this is working fine on my local Appian 7.3 environment. But it always fails on actual DEV environment which is behind proxy with SSL, and LDAP authentication configured.

Why same code works in local and not DEV env? What may be missing here? Please advise?

Here is actual code:
public List<String> authenticate(String username, String password) throws AuthenticationException {
                    SpringUtils utils = new SpringUtils(); //com.app...

OriginalPostID-95955

OriginalPostID-95955

  Discussion posts and replies are publicly visible

Parents
  • ...iancorp.plugins.spring.SpringUtils
                        if (utils.authenticate(username, password)) {
                                  ServiceContext sc_= ServiceContextFactory.getServiceContext(username);
                                  //Next code to fetch user groups is skipped
                                  
                        } else {
                                  throw new AuthenticationException(username);
                        }
              }
              
Reply
  • ...iancorp.plugins.spring.SpringUtils
                        if (utils.authenticate(username, password)) {
                                  ServiceContext sc_= ServiceContextFactory.getServiceContext(username);
                                  //Next code to fetch user groups is skipped
                                  
                        } else {
                                  throw new AuthenticationException(username);
                        }
              }
              
Children
No Data