com.cafesoft.cams.auth
Class AuthenticationMethod

java.lang.Object
  |
  +--com.cafesoft.cams.auth.AuthenticationMethod

public class AuthenticationMethod
extends Object

The AuthenticationMethod defines type safe constants used to identify standardized methods for authenticating subjects. The "Security Assertion Markup Language" 1.0 specifications:

http://www.oasis-open.org/committees/security/

define these standard/common "Authentication Method Identifiers".


Field Summary
static AuthenticationMethod CAMS_AUTO_LOGIN
          The authentication was performed by means of a Cams Auto Authentication Token.
static AuthenticationMethod HARDWARETOKEN
          The authentication was performed using some (unspecified) hardware token.
static AuthenticationMethod KERBEROS
          The authentication was performed by means of the Kerberos protocol [RFC 1510], an instantiation of the Needham-Schroeder symmetric key authentication mechanism [Needham78].
static AuthenticationMethod PASSWORD
          The authentication was performed by means of a password.
static AuthenticationMethod PGP
          The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a PGP web of trust [PGP].
static AuthenticationMethod SECUREPASSWORD
          The authentication was performed by means of Secure Remote Password protocol as specified in [RFC 2945].
static AuthenticationMethod SPKI
          The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a SPKI PKI [SPKI].
static AuthenticationMethod SSLTLS
          The authentication was performed using either the SSL or TLS protocol with certificate-based client authentication.
static AuthenticationMethod X509
          The authentication was performed by some (unspecified) mechanism on a key authenticated by means of an X.509 PKI [X.500][PKIX].
static AuthenticationMethod XKMS
          The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a XKMS trust service [XKMS].
static AuthenticationMethod XMLDIGSIG
          The authentication was performed by means of an XML digital signature [RFC 3075].
 
Method Summary
 boolean equals(Object object)
          Indicates whether some other object is "equal to" this one.
 String getIdentifier()
          Get the fully qualified identifier of the authentication method.
static AuthenticationMethod getInstanceById(String identifier)
          Convienence method that allows an object to get an AuthenticationMethod object by it's identifier.
static AuthenticationMethod getInstanceByName(String name)
          Convienence method that allows an object to get an AuthenticationMethod object by it's name.
 String getName()
          Get the readable name of the authentication method.
 int hashCode()
          Returns a hash code value for the object.
 String toString()
          Get a String representation of the AuthenticationMethod object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PASSWORD

public static final AuthenticationMethod PASSWORD
The authentication was performed by means of a password.

Since:
1.2

KERBEROS

public static final AuthenticationMethod KERBEROS
The authentication was performed by means of the Kerberos protocol [RFC 1510], an instantiation of the Needham-Schroeder symmetric key authentication mechanism [Needham78].

Since:
1.2

SECUREPASSWORD

public static final AuthenticationMethod SECUREPASSWORD
The authentication was performed by means of Secure Remote Password protocol as specified in [RFC 2945].

Since:
1.2

HARDWARETOKEN

public static final AuthenticationMethod HARDWARETOKEN
The authentication was performed using some (unspecified) hardware token.

Since:
1.2

SSLTLS

public static final AuthenticationMethod SSLTLS
The authentication was performed using either the SSL or TLS protocol with certificate-based client authentication. TLS is described in [RFC 2246].

Since:
1.2

X509

public static final AuthenticationMethod X509
The authentication was performed by some (unspecified) mechanism on a key authenticated by means of an X.509 PKI [X.500][PKIX].

Since:
1.2

PGP

public static final AuthenticationMethod PGP
The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a PGP web of trust [PGP].

Since:
1.2

SPKI

public static final AuthenticationMethod SPKI
The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a SPKI PKI [SPKI].

Since:
1.2

XKMS

public static final AuthenticationMethod XKMS
The authentication was performed by some (unspecified) mechanism on a key authenticated by means of a XKMS trust service [XKMS].

Since:
1.2

XMLDIGSIG

public static final AuthenticationMethod XMLDIGSIG
The authentication was performed by means of an XML digital signature [RFC 3075].

Since:
1.2

CAMS_AUTO_LOGIN

public static final AuthenticationMethod CAMS_AUTO_LOGIN
The authentication was performed by means of a Cams Auto Authentication Token.

Since:
1.3
Method Detail

getInstanceById

public static final AuthenticationMethod getInstanceById(String identifier)
Convienence method that allows an object to get an AuthenticationMethod object by it's identifier.

Parameters:
identifier - the identifier of the AuthenticationMethod object to retrieve.
Returns:
the specific AuthenticationMethod request, or null if the AuthenticationMethod is unsupported.
Since:
1.5

getInstanceByName

public static final AuthenticationMethod getInstanceByName(String name)
Convienence method that allows an object to get an AuthenticationMethod object by it's name.

Parameters:
name - the name of the AuthenticationMethod object to retrieve.
Returns:
the specific AuthenticationMethod request, or null if the AuthenticationMethod is unsupported.
Since:
1.5

getIdentifier

public String getIdentifier()
Get the fully qualified identifier of the authentication method.

Returns:
the fully qualified identifier of the authentication method.
Since:
1.4

getName

public String getName()
Get the readable name of the authentication method.

Returns:
the readable name of the authentication method.
Since:
1.4

equals

public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class Object
Parameters:
object - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
Since:
1.4

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class Object
Since:
1.4

toString

public String toString()
Get a String representation of the AuthenticationMethod object.

Overrides:
toString in class Object
Returns:
a String representation of the AuthenticationMethod object.
Since:
1.2


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.