All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.dreampie.security.AuthenticateService Maven / Gradle / Ivy

package cn.dreampie.security;

import cn.dreampie.security.credential.Credential;

import java.io.Serializable;
import java.util.Set;

/**
 * Created by ice on 14-12-23.
 */
public abstract class AuthenticateService implements Serializable {

  public abstract Principal getPrincipal(String username);

  public PasswordService getPasswordService() {
    return DefaultPasswordService.instance();
  }

  public abstract Set getAllCredentials();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy