|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.post.security.SecurityService
public class SecurityService
This class is a central repository for all of the SecurityModules which are currently loaded, and can verify certificates for applications which do not care about the module-certificate relationships.
Constructor Summary | |
---|---|
SecurityService()
Constructor for SecurityService. |
Method Summary | |
---|---|
SecurityModule |
getModule(java.lang.String name)
Gets the module corresponding to the given name |
void |
loadModule(SecurityModule module)
Loads a module under the name module.getName() |
void |
unloadModule(SecurityModule module)
Unloads the module under the name module.getName() |
void |
verify(PostCertificate certificate,
Continuation command)
Verifies the given certificate, and passes the result, either True or False, to the given command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityService()
Method Detail |
---|
public SecurityModule getModule(java.lang.String name)
name
- The name of the module to get
public void loadModule(SecurityModule module)
module
- The module to loadpublic void unloadModule(SecurityModule module)
module
- The module to unloadpublic void verify(PostCertificate certificate, Continuation command)
certificate
- The certificate to verifycommand
- The command to call with the result
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |