| java.lang.Object java.lang.SecurityManager org.mmbase.security.MMBaseCop
MMBaseCop | public class MMBaseCop extends SecurityManager (Code) | | 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.
author: Eduard Witteveen version: $Id: MMBaseCop.java,v 1.26 2008/01/22 16:49:42 michiel Exp $ |
checkSharedSecret | public boolean checkSharedSecret(String received)(Code) | | checks if the received shared secret is equals to your own shared secret
Parameters: received - shared secret true if received shared secret equals your own shared secret false if received shared secret not equals your own shared secret |
getActive | public boolean getActive()(Code) | | Returns the authorization class, which should be used(for optimizations)
true When the SecurityManager shouldbe used.false When not. |
getAuthentication | public Authentication getAuthentication()(Code) | | Returns the authentication class, which should be used.
The authentication class which should be used. |
getAuthorization | public Authorization getAuthorization()(Code) | | Returns the authorization class, which should be used.
The authorization class which should be used. |
getSharedSecret | public String getSharedSecret()(Code) | | get the shared Secret
the shared Secret |
Fields inherited from java.lang.SecurityManager | protected boolean inCheck(Code)(Java Doc)
|
|
|