| java.lang.Object org.mmbase.security.MMBaseCopConfig
MMBaseCopConfig | public class MMBaseCopConfig (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: MMBaseCopConfig.java,v 1.30 2007/07/26 22:04:23 michiel Exp $ |
Constructor Summary | |
| MMBaseCopConfig(MMBaseCop mmbaseCop) The constructor, will load the classes for authorization and authentication
with their config files, as specied in the xml from configUrl
exception: java.io.IOException - When reading the file failed .. |
DTD_SECURITY_1_0 | final public static String DTD_SECURITY_1_0(Code) | | DTD resource filename of the Builder DTD version 1.0
|
PUBLIC_ID_SECURITY_1_0 | final public static String PUBLIC_ID_SECURITY_1_0(Code) | | Public ID of the Builder DTD version 1.0
|
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 |
|
|