deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wass.common
Class AuthenticationData

java.lang.Object
  extended by org.deegree.ogcwebservices.wass.common.AuthenticationData

public class AuthenticationData
extends java.lang.Object

Encapsulated data: authn:AuthenticationData element Namespace: http://www.gdi-nrw.org/authentication

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
AuthenticationData(URN authenticationMethod, java.lang.String credentials)
           
 
Method Summary
 URN getAuthenticationMethod()
           
 java.lang.String getCredentials()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 boolean usesAnonymousAuthentication()
           
 boolean usesPasswordAuthentication()
           
 boolean usesSessionAuthentication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationData

public AuthenticationData(URN authenticationMethod,
                          java.lang.String credentials)
Parameters:
authenticationMethod -
credentials -
Method Detail

getAuthenticationMethod

public URN getAuthenticationMethod()
Returns:
the Method of authentication
See Also:
URN

getCredentials

public java.lang.String getCredentials()
Returns:
the Credentials

usesPasswordAuthentication

public boolean usesPasswordAuthentication()
Returns:
true, if authenticationMethod is by password

usesSessionAuthentication

public boolean usesSessionAuthentication()
Returns:
true, if authenticationMethod is by session

usesAnonymousAuthentication

public boolean usesAnonymousAuthentication()
Returns:
true, if authenticationMethod is by anonymous

getUsername

public java.lang.String getUsername()
Returns:
the username of the credentials or null, if authenticationMethod is not password

getPassword

public java.lang.String getPassword()
Returns:
the password of the credentials or null, if authenticationMethod is not password

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org