public interface AuthModule
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns the priority of the module.
|
String[] |
getProcessDefinitions()
Returns the an Array of
ProcessDefinition s of the processes included in this module. |
String |
selectProcess(ExecutionContext context)
Selects a process (description), referenced by its unique id, which is able to perform authentication with the
given
ExecutionContext . |
int getPriority()
0
. Use a higher priority (1...Integer.MAX_VALUE
)
in order to have your module(s) priorized or a lower priority (Integer.MIN_VALUE...-1
) in order to put
your modules behind default modules.String selectProcess(ExecutionContext context)
ExecutionContext
. Returns null
if no appropriate process (description) was available within
this module.context
- an ExecutionContext for a process.null
.String[] getProcessDefinitions()
ProcessDefinition
s of the processes included in this module.Copyright © 2017. All rights reserved.