Jive Forums API (5.5.20.2-oracle) Web Services Client Javadocs

com.jivesoftware.forum.webservices
Class WSConstants.AccessType

java.lang.Object
  extended by com.jivesoftware.forum.webservices.WSConstants.AccessType
Enclosing class:
WSConstants

public static class WSConstants.AccessType
extends java.lang.Object

Used to distinguish what kind of access is allowed on the server.


Field Summary
static WSConstants.AccessType ALL
          Access type that specifies that any user including anonymous users can connect to web services.
static WSConstants.AccessType REGISTERED
          Access type that will allow only registered users to connect to web services.
static WSConstants.AccessType SPECIFIC_GROUPS
          Access type that will only allow a list of specific groups to connect to web services.
static WSConstants.AccessType SPECIFIC_USERS
          Access type that will only allow a list of specific users to connect to web services.
 
Method Summary
 boolean equals(java.lang.Object o)
           
static WSConstants.AccessType getAccessType(java.lang.String name)
          Returns the access type that matches the access type name.
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final WSConstants.AccessType ALL
Access type that specifies that any user including anonymous users can connect to web services. Note even if a user can connect to web services it does not mean that the user has permission to access any resource.


REGISTERED

public static final WSConstants.AccessType REGISTERED
Access type that will allow only registered users to connect to web services.


SPECIFIC_USERS

public static final WSConstants.AccessType SPECIFIC_USERS
Access type that will only allow a list of specific users to connect to web services.


SPECIFIC_GROUPS

public static final WSConstants.AccessType SPECIFIC_GROUPS
Access type that will only allow a list of specific groups to connect to web services.

Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getName

public java.lang.String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAccessType

public static WSConstants.AccessType getAccessType(java.lang.String name)
Returns the access type that matches the access type name. If no matching name is passed in then WSConstants#ALL is returned.

Parameters:
name - The name of type
Returns:
The matching access type.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.