~ubuntu-branches/ubuntu/raring/eucalyptus/raring

« back to all changes in this revision

Viewing changes to clc/modules/msgs/src/main/java/com/eucalyptus/auth/login/HmacCredentials.java

  • Committer: Package Import Robot
  • Author(s): Brian Thomason
  • Date: 2011-11-29 13:17:52 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 185.
  • Revision ID: package-import@ubuntu.com-20111129131752-rq31al3ntutv2vvl
Tags: upstream-3.0.999beta1
ImportĀ upstreamĀ versionĀ 3.0.999beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package com.eucalyptus.auth.login;
2
2
 
3
3
import java.util.Map;
4
 
import com.eucalyptus.auth.crypto.Hmac;
5
 
import com.eucalyptus.auth.util.SecurityParameter;
 
4
import com.eucalyptus.crypto.Hmac;
 
5
import com.eucalyptus.crypto.util.SecurityParameter;
6
6
 
7
7
public class HmacCredentials extends WrappedCredentials<String> {
8
8
  private Hmac    signatureMethod;
24
24
    this.verb = verb;
25
25
    this.servicePath = servicePath;
26
26
    this.headerHost = headerHost;
27
 
    this.headerPort = System.getProperty("euca.ws.port");
 
27
    this.headerPort = ""+8773;
28
28
    if ( headerHost != null && headerHost.contains( ":" ) ) {
29
29
      String[] hostTokens = this.headerHost.split( ":" );
30
30
      this.headerHost = hostTokens[0];