class SimpleServiceIdentityProvider implements ServiceIdentityProvider {

    String getServerHostName() {
        
        String urlhost;
        try {
            InetAddress localhost = getLocalHost();
            urlhost = localhost.getCanonicalHostName();
        } catch (java.net.UnknownHostException e) {
            urlhost = "localhost";
        }
        return urlhost;
    }

    public  SimpleServiceIdentityProvider(String domainName, String serviceName,
            PrivateKey privateKey, String keyId);
    public  SimpleServiceIdentityProvider(String domainName, String serviceName,
            PrivateKey privateKey, String keyId, long tokenTimeout);
    public  SimpleServiceIdentityProvider(Authority authority, String domainName,
            String serviceName, PrivateKey privateKey, String keyId, long tokenTimeout);

}