|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.voms.operation.QuestionHelper | +--org.edg.security.voms.operation.GetUserQuestion
A question for getting information about a user in the VO database.
Field Summary | |
private static org.apache.log4j.Logger |
log
Logger. |
private java.lang.String |
userca
Parameter: The DN of the user's CA. |
private java.lang.String |
username
Parameter: The DN of the user. |
Fields inherited from class org.edg.security.voms.operation.QuestionHelper |
cns |
Constructor Summary | |
GetUserQuestion(java.lang.String username,
java.lang.String userca)
|
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()
Check that the current client (as specified by the current security context) has the right to ask this question. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.log4j.Logger log
private java.lang.String username
private java.lang.String userca
Constructor Detail |
public GetUserQuestion(java.lang.String username, java.lang.String userca)
Method Detail |
public void checkPermission() throws VOMSException
Question
VOMSSecurityException
.
checkPermission
in interface Question
checkPermission
in class QuestionHelper
VOMSException
SecurityContext
public java.lang.Object ask() throws VOMSException
Question
Object
.
Errors must be signalled by throwing an exception.
ask
in interface Question
ask
in class QuestionHelper
VOMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |