org.glite.security.voms.operation
Class GetVONameQuestion

java.lang.Object
  extended byorg.glite.security.voms.operation.QuestionHelper
      extended byorg.glite.security.voms.operation.GetVONameQuestion
All Implemented Interfaces:
Question, java.io.Serializable

public final class GetVONameQuestion
extends QuestionHelper

A question for retrieving the VO group name from the service.

Author:
Karoly Lorentey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.glite.security.voms.operation.QuestionHelper
cns
 
Constructor Summary
GetVONameQuestion()
           
 
Method Summary
 java.lang.Object ask()
          Do the query that this question represents, without ACL checks, and return the result as an Object.
 void checkPermission()
          The VO name can be queried by anyone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetVONameQuestion

public GetVONameQuestion()
Method Detail

checkPermission

public void checkPermission()
                     throws VOMSException
The VO name can be queried by anyone.

Specified by:
checkPermission in interface Question
Overrides:
checkPermission in class QuestionHelper
Throws:
VOMSException

ask

public java.lang.Object ask()
                     throws VOMSException
Description copied from interface: Question
Do the query that this question represents, without ACL checks, and return the result as an Object.

Errors must be signalled by throwing an exception.

Specified by:
ask in interface Question
Specified by:
ask in class QuestionHelper
Throws:
VOMSException