Comments (10)
- Issue Imported From: https://github.com/javaee/glassfish/issues/32
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: @yaminikb
- Original Issue Closed By:@glassfishrobot
from glassfish.
@glassfishrobot Commented
danbrice said:
I just noticed that com.sun.enterprise.security.LoginException and not
javax.security.auth.login.LoginException which
com.sun.appserv.security.AppservPasswordLoginModule.login() throws.
A bit confusing given that the custom login module has to throw the javax version. Maybe there's
nothing can be done about that - but it would have been easier to code against if
com.sun.appserv.security.ProgrammaticLogin.login() threw specific exceptions instead of the all general
"Exception". Surely that could be changed without breaking any existing code.
Thanks,
Dan.
from glassfish.
@glassfishrobot Commented
sridatta said:
changing owner to sridatta
from glassfish.
@glassfishrobot Commented
@shingwaichan said:
reassigned to an engineer
from glassfish.
@glassfishrobot Commented
ahshishs said:
Will make the change so that the root stack trace does not get lost.
I'll also file a bug to clean the following:
1. Some methods in ProgrammaticLogin public API throw java.lang.Exception
The exception should be changed to more narrow and specific subclass
2. LoginContextDriver methods throw com.sun.enterprise.security.LoginException
See if this can be changed to javax.security.auth.login.LoginException
3. com.sun.enterprise.security.LoginException extends java.lang.RuntimeException
(via java.lang.SecurityException) - which means this exception can go uncaught
at compile-time. Should be changed so the goes through the compiler checks.
from glassfish.
@glassfishrobot Commented
ahshishs said:
Made the suggested changes througout LoginContextDriver so that the root cause
exception is not lost when creating a new LoginException.
from glassfish.
@glassfishrobot Commented
Was assigned to ahshishs
from glassfish.
@glassfishrobot Commented
This issue was imported from java.net JIRA GLASSFISH-32
from glassfish.
@glassfishrobot Commented
Reported by danbrice
from glassfish.
@glassfishrobot Commented
Marked as fixed on Tuesday, March 14th 2006, 6:25:56 am
from glassfish.
Related Issues (20)
- Embedded glassfish JAR doesn't contain JARS/RARS to support JMS HOT 1
- NPE on PoolManagerImpl.resourceClosed(PoolManagerImpl.java:367)
- Clean code: add checkstyle rule to prevent unused imports HOT 2
- Improve Thread safeness of LocalTxConnectionEventListener
- Provide official arquillian adapter? HOT 1
- Glassfish Arquillian tests very very slow HOT 8
- Glassfish 8.0.0-M* use Expressly 6.0.0-M1 not available in Maven Central HOT 2
- Clean code: Fix "Unlikely argument type for equals()" and remove some unused variables HOT 1
- On Jersey 4.0.0 changes HOT 3
- Update documentation to match GlassFish 7
- Release and integrate updated dependencies HOT 8
- Document and refactor some connectors-runtime module code
- Enhancement: Allow to specify protocol for URLs the server sends to the client
- JSON-B date serialization and deserialization problem HOT 5
- Glassfish 7 Java 21 builds fail in ConnectionPoolTest HOT 1
- glassfish 6.2.5 edit JDBC realm HOT 1
- `start-domain --debug=true` does not display port number
- Couldn't load error report valve if GlassFish started with a virtual server in state=off
- Detected deadlock in logging - rolling the file
- Admin Session Timeout doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glassfish.