|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.security.MMBaseCopConfig
This class is the main class of the security system. It loads the authentication and authorization classes if needed, and they can be requested from this manager.
| Field Summary | |
static String |
DTD_SECURITY_1_0
DTD resource filename of the Builder DTD version 1.0 |
static String |
PUBLIC_ID_SECURITY_1_0
Public ID of the Builder DTD version 1.0 |
static ResourceLoader |
securityLoader
|
protected ResourceWatcher |
watcher
looks if the files have been changed |
| Method Summary | |
boolean |
checkSharedSecret(String received)
checks if the received shared secret is equals to your own shared secret |
boolean |
getActive()
Returns the authorization class, which should be used(for optimizations) |
Authentication |
getAuthentication()
Returns the authentication class, which should be used. |
Authorization |
getAuthorization()
Returns the authorization class, which should be used. |
String |
getSharedSecret()
get the shared Secret |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ResourceLoader securityLoader
protected ResourceWatcher watcher
public static final String PUBLIC_ID_SECURITY_1_0
public static final String DTD_SECURITY_1_0
| Method Detail |
public Authentication getAuthentication()
public Authorization getAuthorization()
public boolean getActive()
trueWhen the SecurityManager should
be used.
falseWhen not.public boolean checkSharedSecret(String received)
received - shared secret
public String getSharedSecret()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||