Package org.apache.openmeetings.web.app

Examples of org.apache.openmeetings.web.app.OmAuthenticationStrategy.save()


    OmAuthenticationStrategy strategy = getAuthenticationStrategy();
    WebSession ws = WebSession.get();
    if (ws.signIn(login, password, ldapConfigFileName)) {
       setResponsePage(Application.get().getHomePage());
      if (rememberMe) {
        strategy.save(login, password, ldapConfigFileName);
      } else {
        strategy.remove();
      }
    } else {
      strategy.remove();
View Full Code Here


    OmAuthenticationStrategy strategy = getAuthenticationStrategy();
    WebSession ws = WebSession.get();
    if (ws.signIn(login, password, ldapConfigFileName)) {
       setResponsePage(Application.get().getHomePage());
      if (rememberMe) {
        strategy.save(login, password, ldapConfigFileName);
      } else {
        strategy.remove();
      }
    } else {
      strategy.remove();
View Full Code Here

    WebSession ws = WebSession.get();
    Type type = domain.getLdapConfigId() > 0 ? Type.ldap : Type.user;
    if (ws.signIn(login, password, type, domain.getLdapConfigId())) {
       setResponsePage(Application.get().getHomePage());
      if (rememberMe) {
        strategy.save(login, password, type, domain.getLdapConfigId());
      } else {
        strategy.remove();
      }
    } else {
      strategy.remove();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.