| Modifier and Type | Class and Description |
|---|---|
class |
UnknownAuthenticationMethodException
Thrown by the security authentication implementation to indicate an unknown login authentication
'method/application'.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NoAuthorization.getContext(UserContext user,
int nodeid)
This method does nothing, except from giving a specified string back
|
abstract String |
Authorization.getContext(UserContext user,
int nodeid)
This method could be overrided by an extending class.
|
int |
AuthenticationData.getNode(UserContext userContext)
This method returns an MMBase node that corresponds with the given UserContext
|
int |
Authentication.getNode(UserContext userContext)
This method returns an MMBase node that corresponds with the given UserContext
|
Set<String> |
Authorization.getPossibleContexts(UserContext user)
This method could be overrided by an extending class.
|
Set<String> |
NoAuthorization.getPossibleContexts(UserContext user,
int nodeid)
This method does nothing, except from returning a dummy value
|
abstract Set<String> |
Authorization.getPossibleContexts(UserContext user,
int nodeid)
This method could be overrided by an extending class.
|
Rank |
BasicUser.getRank()
Gets the rank of this user.
|
boolean |
AuthenticationData.isValid(UserContext userContext)
The method returns whether the UserContext has become invalid for some reason (change in security config?)
|
boolean |
NoAuthentication.isValid(UserContext usercontext)
Users remain valid always.
|
abstract UserContext |
Authentication.login(String application,
Map<String,?> loginInfo,
Object[] parameters)
This method will verify the login, and give a UserContext back if the login procedure was successful.
|
UserContext |
NoAuthentication.login(String application,
Map loginInfo,
Object[] parameters)
Returns always the same object (an user 'anonymous'with rank 'administrator'')
|
void |
MMBaseCop.reload()
reload, will load the classes for authorization and authentication
with their config files, as specied in the xml from configUrl
|
void |
NoAuthorization.setContext(UserContext user,
int nodeid,
String context)
Since this is not authorization, we simply allow every change of context.
|
abstract void |
Authorization.setContext(UserContext user,
int nodeid,
String context)
This method could be overrided by an extending class.
|
void |
NoAuthorization.verify(UserContext user,
int nodeid,
int srcNodeid,
int dstNodeid,
Operation operation)
This method does nothing
|
void |
Authorization.verify(UserContext user,
int nodeid,
int srcnodeid,
int dstnodeid,
Operation operation)
This method wraps the check-method with the same arguments.
|
void |
NoAuthorization.verify(UserContext user,
int nodeid,
Operation operation)
This method does nothing
|
void |
Authorization.verify(UserContext user,
int nodeid,
Operation operation)
This method wraps the check-method with the same arguments.
|
| Constructor and Description |
|---|
MMBaseCop()
The constructor, will load the classes for authorization and authentication
with their config files, as specied in the xml from configUrl
|
MMBaseCopConfig(MMBaseCop mmbaseCop)
The constructor, will load the classes for authorization and authentication
with their config files, as specied in the xml from configUrl
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClassAuthenticationWrapper.isValid(UserContext userContext)
The method returns whether the UserContext has become invalid for some reason (change in security config?)
|
protected void |
ClassAuthenticationWrapper.load()
This method should be overridden by an extending class.
|
protected static void |
ClassAuthentication.load(String configFile)
Reads the configuration file and instantiates and loads the wrapped Authentication.
|
protected UserContext |
ClassAuthenticationWrapper.login(Map loginInfo,
Object[] parameters)
logs-in using the first match on the class from the configuration file.
|
UserContext |
ClassAuthenticationWrapper.login(String application,
Map loginInfo,
Object[] parameters)
This method will verify the login, and give a UserContext back if the login procedure was successful.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OwnerAuthorization.getContext(UserContext user,
int nodeNumber) |
Set<String> |
OwnerAuthorization.getPossibleContexts(UserContext user,
int nodeNumber)
Returns a list of all users in accounts.properties
|
boolean |
AuthenticationHandler.isValid(UserContext usercontext)
this method does nothing..
|
UserContext |
AuthenticationHandler.login(String moduleName,
Map loginInfo,
Object[] parameters) |
void |
OwnerAuthorization.setContext(UserContext user,
int nodeNumber,
String context)
This method does nothing, except from checking if the setContext was valid..
|
| Modifier and Type | Method and Description |
|---|---|
String |
Verify.getContext(UserContext user,
int nodeid) |
Set<String> |
Verify.getPossibleContexts(UserContext user,
int nodeid) |
boolean |
Authenticate.isValid(UserContext usercontext)
The method returns whether the UserContext has become invalid for some reason (change in security config?)
|
UserContext |
Authenticate.login(String moduleName,
Map loginInfo,
Object[] parameters)
This method will verify the login, and give a UserContext back if the login procedure was successful.
|
void |
Verify.setContext(UserContext user,
int nodeid,
String context) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
BasicUserProvider.getAnonymousUser()
Returns the anonymous user node, or
null if there is no such node (yet). |
String |
Verify.getContext(UserContext userContext,
int nodeId) |
String |
BasicContextProvider.getContextName(MMObjectNode contextNode) |
int |
Authenticate.getNode(UserContext user) |
Set<String> |
ContextProvider.getPossibleContexts(User user) |
Set<String> |
BasicContextProvider.getPossibleContexts(User user) |
Set<String> |
Verify.getPossibleContexts(UserContext userContext) |
Set<String> |
Verify.getPossibleContexts(UserContext userContext,
int nodeId) |
Set<String> |
ContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
Set<String> |
BasicContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
Rank |
Authenticate.LocalAdmin.getRank() |
Rank |
User.getRank() |
boolean |
Authenticate.isValid(UserContext userContext) |
protected void |
Authenticate.load()
This method should be overridden by an extending class.
|
UserContext |
Authenticate.login(String type,
Map<String,?> map,
Object[] parameters)
This method will verify the login, and give a UserContext back if the login procedure was successful.
|
boolean |
ContextProvider.mayDo(User user,
MMObjectNode nodeId,
Operation operation) |
void |
Verify.setContext(UserContext user,
int nodeId,
String context) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
Users.getAnonymousUser() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
WorkFlowContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
boolean |
WorkFlowContextProvider.mayDo(User user,
MMObjectNode nodeId,
Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContextAuthorization.check(UserContext user,
int nodeNumber,
int srcNodeNumber,
int dstNodeNumber,
Operation operation) |
boolean |
ContextAuthorization.check(UserContext user,
int nodeNumber,
Operation operation) |
void |
ContextAuthorization.create(UserContext user,
int nodeNumber) |
protected Element |
ContextLoginModule.getAccount(String userName)
Gets accounts for this authentication module
|
protected Element |
ContextLoginModule.getAccount(String userName,
String identifyType,
String rank)
Search an account for a given user name and identify type (the 'module').
|
String |
ContextAuthorization.getContext(UserContext user,
int nodeNumber) |
String |
ContextAuthorization.getDefaultContext(UserContext user) |
protected String |
ContextLoginModule.getModuleValue(String userName)
Deprecated.
|
Set<String> |
ContextAuthorization.getPossibleContexts(UserContext user,
int nodeNumber) |
protected Rank |
ContextLoginModule.getRank(String username) |
protected Rank |
ContextLoginModule.getRank(String username,
String identifyType) |
protected ContextUserContext |
ContextLoginModule.getValidUserContext(String username,
Rank rank) |
boolean |
ContextAuthentication.isValid(UserContext userContext)
this method does nothing..
|
void |
ContextLoginModule.load(Document document,
long validKey,
String name,
MMBaseCop manager) |
ContextUserContext |
ClassLogin.login(Map<String,?> userLoginInfo,
Object[] userParameters) |
ContextUserContext |
AnonymousLogin.login(Map<String,?> userLoginInfo,
Object[] userParameters) |
abstract ContextUserContext |
ContextLoginModule.login(Map<String,?> userLoginInfo,
Object[] userParameters) |
ContextUserContext |
PasswordLogin.login(Map<String,?> userLoginInfo,
Object[] userParameters) |
UserContext |
ContextAuthentication.login(String moduleName,
Map<String,?> loginInfo,
Object[] parameters) |
void |
ContextAuthorization.remove(UserContext user,
int nodeNumber) |
void |
ContextAuthorization.setContext(UserContext user,
int nodeNumber,
String context) |
void |
ContextAuthorization.update(UserContext user,
int nodeNumber) |
void |
ContextAuthorization.verify(UserContext user,
int nodeNumber,
int srcNodeNumber,
int dstNodeNumber,
Operation operation) |
void |
ContextAuthorization.verify(UserContext user,
int nodeNumber,
Operation operation) |
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}