|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityProvider
This is the interface that Tagger Cat Security providers must implement. A SecurityProvider provides a mechanism to authenticate users into the system and provides the list of groups the user is a member of.
The DefaultSecurityProvider reads this information from the Application's SQL system
tables.
ContextListener implementation in
the application's deployment descriptor. See
the administration documentation for more details.

| Method Summary | |
|---|---|
void |
authenticate(LoginInfo loginInfo,
org.hibernate.Session session)
Authenticates a user by looking up their user ID and password in some directory. |
void |
close()
Called when the reporting server is shutting down, this is your opportunity to close any resource you have open. |
void |
init(javax.servlet.ServletContext servletContext)
Initializes your object with servlet context. |
void |
setGroupMembershipNames(LoginInfo loginInfo,
java.lang.String metadataCatalog,
org.hibernate.Session session)
Set a comma separated string of the group names this user belongs to. |
| Method Detail |
|---|
void authenticate(LoginInfo loginInfo,
org.hibernate.Session session)
throws java.lang.Exception
java.lang.ExceptionloginInfo - the user's login informationvoid close()
void init(javax.servlet.ServletContext servletContext)
throws java.lang.SecurityException
java.lang.SecurityExceptionservletContext - the servlet context
void setGroupMembershipNames(LoginInfo loginInfo,
java.lang.String metadataCatalog,
org.hibernate.Session session)
loginInfo - User informationmetadataCatalog - the name of the database catalog for the meta datasession - the hibernate session to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||