|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.axis.InitSecurityContext
public class InitSecurityContext
DOCUMENT ME!
Constructor Summary | |
---|---|
InitSecurityContext()
|
Method Summary | |
---|---|
static void |
init()
Initializes the SecurityContext from a MessageContext . |
static void |
initClearSC()
Initialize a clear security context, which will fail on all security checks. |
static void |
initSC(javax.servlet.ServletRequest req)
Sets up the client's credentials. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitSecurityContext()
Method Detail |
---|
public static void init()
MessageContext
.
Handler.invoke(MessageContext)
public static void initSC(javax.servlet.ServletRequest req)
org.glite.java.security.SecurityContext
to a new instance and
initializes it from the client's certificate. It also sets the
remote IP address
property.
If the certificate is invalid, or there is some other problem with the
client's credentials, then the distinguished name and CA will be set to
null
, unless the client is from localhost and the
configuration option voms.localhost.defaults.to.local.admin
is true. In this latter case, the credentials will be set to that of the
Local Database Administrator.
public static void initClearSC()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |