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

com.windowsazure.samples.internal.authentication.DirectConnectToken Maven / Gradle / Ivy

Go to download

jpa4azure, implements a subset of the JPA specification using Azure Storage for pesisting beans. see http://jpa4azure.codeplex.com for more information.

The newest version!
package com.windowsazure.samples.internal.authentication;

import com.windowsazure.samples.authentication.AuthenticationToken;


public final class DirectConnectToken implements AuthenticationToken {
	
	public DirectConnectToken(String account, String key) {
		this.account = account;
		this.key = key;
	}
	
	public String getAccount() {
		return account;
	}
	
	public String getHost() {
		return HOST;
	}
	
	public String getKey() {
		return key;
	}
	
	private static final String HOST = "core.windows.net";
	
	private String account;
	private String key;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy