|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.delegation.impl.GliteDelegation
public class GliteDelegation
Implementation of the logic of the Glite Delegation Interface on the server side.
Constructor Summary | |
---|---|
GliteDelegation()
Loads the DLGEE properties from the default config file and calls the appropriate constructor. |
|
GliteDelegation(GrDProxyDlgeeOptions dlgeeOpt)
Class constructor. |
Method Summary | |
---|---|
void |
destroy(java.lang.String inDelegationID)
|
NewProxyReq |
getNewProxyReq(java.lang.String inDelegationID)
Generates a new proxy request object based on the DN and voms attributes in the security context. |
java.lang.String |
getProxyReq(java.lang.String inDelegationID)
Generates a new proxy certificate proxy request based on the client DN and voms attributes in SecurityContext. |
java.util.Calendar |
getTerminationTime(java.lang.String inDelegationID)
|
void |
putProxy(java.lang.String inDelegationID,
java.lang.String proxy)
|
java.lang.String |
renewProxyReq(java.lang.String inDelegationID)
Generates a new delegation request for the existing delegation with the given (or generated) delegation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GliteDelegation() throws java.io.IOException
java.io.IOException
- Failed to load the DLGEE config fileGliteDelegation(GrDProxyDlgeeOptions)
public GliteDelegation(GrDProxyDlgeeOptions dlgeeOpt)
dlgeeOpt
- the options object for configuring the delegation receiver.Method Detail |
---|
public java.lang.String getProxyReq(java.lang.String inDelegationID) throws DelegationException
inDelegationID
- The delegation id used.
DelegationException
- Thrown in case of failures.public NewProxyReq getNewProxyReq(java.lang.String inDelegationID) throws DelegationException
inDelegationID
- the delegation id to use, will be generated if not given.
DelegationException
- thrown in case of failure.public java.lang.String renewProxyReq(java.lang.String inDelegationID) throws DelegationException
inDelegationID
- The delegation id to use, will be genarated if not given.
DelegationException
- Thrown in case of failure.public void putProxy(java.lang.String inDelegationID, java.lang.String proxy) throws DelegationException
inDelegationID
- proxy
-
DelegationException
public void destroy(java.lang.String inDelegationID) throws DelegationException
DelegationException
public java.util.Calendar getTerminationTime(java.lang.String inDelegationID) throws DelegationException
DelegationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |