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

com.att.aft.dme2.api.SimpleRealm Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
 *******************************************************************************/
package com.att.aft.dme2.api;

//import org.eclipse.jetty.client.security.Realm;

public class SimpleRealm { //implements Realm {

	private String userName;
	private String password;
	private String realmName;
	public SimpleRealm(String realmName, String userName, String password) {
		super();
		this.realmName = realmName;
		this.userName = userName;
		this.password = password;
	}
	
	public String getCredentials() {
		return this.password;
	}
	public String getId() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getPrincipal() {
		return this.userName;
	}
	
	public String getRealmName() {
		return realmName;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy