org.n52.security.authentication
Class WASAuthenticationMethod

java.lang.Object
  extended by org.n52.security.authentication.WASAuthenticationMethod
All Implemented Interfaces:
AuthenticationMethod

public class WASAuthenticationMethod
extends java.lang.Object
implements AuthenticationMethod

Describes possiblitiy to use an WAS ticket as authentication credential. todo: describe better.


Field Summary
static java.lang.String URN
          URN identifying this method.
 
Constructor Summary
WASAuthenticationMethod()
          Constructor creates a new instance with empty url.
WASAuthenticationMethod(java.lang.String name, java.lang.String url, java.lang.String version)
          Constructor creates a new instance.
 
Method Summary
 org.dom4j.Node asDom4J()
          Method asDom4J.
 java.lang.String getName()
          Method gets the name.
 java.lang.String getUrl()
          Method gets the url.
 java.lang.String getURN()
          Method gets the URN.
 java.lang.String getVersion()
          Method gets the version.
 void setName(java.lang.String name)
          Method sets the name.
 void setUrl(java.lang.String url)
          Method sets the url.
 void setVersion(java.lang.String version)
          Method sets the version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URN

public static final java.lang.String URN
URN identifying this method.

See Also:
Constant Field Values
Constructor Detail

WASAuthenticationMethod

public WASAuthenticationMethod()
Constructor creates a new instance with empty url.


WASAuthenticationMethod

public WASAuthenticationMethod(java.lang.String name,
                               java.lang.String url,
                               java.lang.String version)
Constructor creates a new instance.

Parameters:
name - the name of the WAS.
url - the url of the WAS.
version - the version the Version of the WAS.
Method Detail

asDom4J

public org.dom4j.Node asDom4J()
Description copied from interface: AuthenticationMethod
Method asDom4J.

Specified by:
asDom4J in interface AuthenticationMethod
Returns:
Node.
See Also:
AuthenticationMethod.asDom4J()

getName

public java.lang.String getName()
Method gets the name.

Returns:
String.

setName

public void setName(java.lang.String name)
Method sets the name.

Parameters:
name - the name.

getUrl

public java.lang.String getUrl()
Method gets the url.

Returns:
String.

setUrl

public void setUrl(java.lang.String url)
Method sets the url.

Parameters:
url - the url.

getVersion

public java.lang.String getVersion()
Method gets the version.

Returns:
String.

setVersion

public void setVersion(java.lang.String version)
Method sets the version.

Parameters:
version - the version.

getURN

public java.lang.String getURN()
Description copied from interface: AuthenticationMethod
Method gets the URN.

Specified by:
getURN in interface AuthenticationMethod
Returns:
String.
See Also:
AuthenticationMethod.getURN()


Copyright © 2004-2009 52north.org. All Rights Reserved.