uk.org.ogsadai.client.toolkit.security.wsrf
Class GSIAuthorizationType

java.lang.Object
  extended byuk.org.ogsadai.client.toolkit.security.wsrf.GSIAuthorizationType
Direct Known Subclasses:
GSIIdentityAuthorizationType

public class GSIAuthorizationType
extends java.lang.Object

Enumeration of GSI client-side authorization levels. This authorization level refer to how the client authorizes the services it uses.

Author:
OGSA-DAI team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
static GSIAuthorizationType HOST
          Host authorization.
private  java.lang.String mName
           
static GSIAuthorizationType NONE
          No client-side authorization.
static GSIAuthorizationType SELF
          Self authorization.
 
Constructor Summary
protected GSIAuthorizationType(java.lang.String name)
          Construts a new GSI authorization type.
 
Method Summary
 java.lang.String toString()
          Gets the label describing the authorization type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mName

private java.lang.String mName

NONE

public static GSIAuthorizationType NONE
No client-side authorization. This authorization type specifies that the client should not attempt to authorize the service.


HOST

public static GSIAuthorizationType HOST
Host authorization. This authorization type specifies that the service's certificate should correspond to the host specified in the service URL.


SELF

public static GSIAuthorizationType SELF
Self authorization. This authorization type specifies that the service's certificate should be the same as the user's certificate.

Constructor Detail

GSIAuthorizationType

protected GSIAuthorizationType(java.lang.String name)
Construts a new GSI authorization type.

Parameters:
name - label for GSI authorization type.
Method Detail

toString

public java.lang.String toString()
Gets the label describing the authorization type.

Returns:
label describing the authorization type.