|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.taggercat.security.DefaultSecurityProvider
public class DefaultSecurityProvider
The Default SecurityProvider implementation.
This class has two functions:
SecurityProvider you need to do so using a
customer ContextListener.

| Constructor Summary | |
|---|---|
DefaultSecurityProvider()
|
|
| Method Summary | |
|---|---|
void |
authenticate(LoginInfo loginInfo,
org.hibernate.Session session)
Authenticates a user by looking up their user ID and password in the application's SQL user table. |
void |
close()
Called when the application is shutting down, this is your opportunity to close any resource you may 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSecurityProvider()
| Method Detail |
|---|
public void authenticate(LoginInfo loginInfo,
org.hibernate.Session session)
authenticate in interface SecurityProviderjava.lang.ExceptionloginInfo - the user's login informationsession - the hbn8Session with a transaction in progresspublic void close()
close in interface SecurityProvider
public void init(javax.servlet.ServletContext servletContext)
throws java.lang.SecurityException
init in interface SecurityProviderjava.lang.SecurityExceptionservletContext - the servlet context
public void setGroupMembershipNames(LoginInfo loginInfo,
java.lang.String metadataCatalog,
org.hibernate.Session session)
SecurityProvider
setGroupMembershipNames in interface SecurityProviderloginInfo - 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 | |||||||||