Task #297 (closed)
Opened 18 years ago
Closed 16 years ago
Add Login.GUEST functionality
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | 3.0-Beta3 |
Component: | Security | Version: | 3.0-M3 |
Keywords: | login, guest | Cc: | jrswedlow |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Currently the ome.system.Login class refuses name==null and password==null, but this is precisely the values that JBoss uses to determine a guest (or anonymous) user. There should be a public final static constant on Login which can be used for anonymous login, and there'll need to be a user "guest" in the db, otherwise the SecuritySystem queries will fail.
Once this is done, an "anonymous" user should be added to the Read and Write tests.
Change History (7)
comment:1 Changed 18 years ago by jmoore
comment:2 Changed 18 years ago by jmoore
- Cc jason added
- Keywords iteration5 added; iteration4 removed
Pushing back to iteration5. What's the priority on this?
comment:3 Changed 18 years ago by jmoore
Once added need to add "a"/"anon" to all client-side security tests.
comment:4 Changed 18 years ago by jmoore
- Milestone changed from 3.0-M3 to 3.0-M4
Won't be able to get around to this before M4. Moving.
comment:5 Changed 18 years ago by jmoore
- Keywords iteration5 removed
Forgot to remove iteration5 keyword.
comment:6 Changed 17 years ago by jmoore
- Milestone changed from 3.0-Beta2 to 3.0-Beta3
This relates to the session management code : proposals/SessionsAndMessages
comment:7 Changed 16 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Merged into #864.
r915 provides a first attempt. This doesn't work for the silly reason that Hashtable doesn't permit null values. We'll have to find a way to send the Principal without the Properties (inherits from Hashtable) intermediary.