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

gedi.solutions.geode.security.UserSecuredCredentials Maven / Gradle / Ivy

Go to download

GemFire Enterprise Data Integration - common development extensions powered by Apache Geode

The newest version!
package gedi.solutions.geode.security;

import nyla.solutions.core.security.SecuredToken;

/**
 * @author Gregory Green
 *
 */
public class UserSecuredCredentials implements SecuredToken
{
	private static final long serialVersionUID = -8233621362316652259L;
	
	/**
	 * 
	 * @param name the username
	 * @param credentials the user credentials
	 * @param token the security token
	 */
	public UserSecuredCredentials(String name, char[] credentials, String token)
	{
		super();
		this.name = name;
		this.credentials = credentials;
		this.token = token;
	}
	
	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}
	/**
	 * @return the token
	 */
	public String getToken()
	{
		return token;
	}
	/**
	 * @return the credentials
	 */
	public char[] getCredentials()
	{
		return credentials;
	}

	private final String name;
	private final String token;
	private final char[] credentials;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy