[JBoss JIRA] Created: (SEAMSECURITY-88) Seam-security should have a non-optional dependency on seam-transaction because it cannot run without it in the classpath
by Geoffrey De Smet (JIRA)
Seam-security should have a non-optional dependency on seam-transaction because it cannot run without it in the classpath
-------------------------------------------------------------------------------------------------------------------------
Key: SEAMSECURITY-88
URL: https://issues.jboss.org/browse/SEAMSECURITY-88
Project: Seam Security
Issue Type: Bug
Reporter: Geoffrey De Smet
I've added seam-config 3.1.0.Beta2 to my dependencies and then got an exception at runtime (see below).
Adding an extra dependency on org.jboss.seam.transaction:seam-transaction fixed it.
{code}
2011-08-29 10:05:42.024:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext@198c6f3{/guvnor-webapp,file:/home/gdesmet/projects/jboss/forked-guvnor/guvnor-webapp/target/guvnor-webapp-5.3.0-SNAPSHOT/}
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.jboss.seam.transaction.TransactionInterceptor; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in jar:file:/home/gdesmet/projects/jboss/forked-guvnor/guvnor-webapp/target/guvnor-webapp-5.3.0-SNAPSHOT/WEB-INF/lib/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@8
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:75)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:56)
at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:435)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:143)
at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)
at org.jboss.weld.manager.Enabled.of(Enabled.java:95)
at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:104)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:171)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.deployer.ContextDeployer.deploy(ContextDeployer.java:268)
at org.mortbay.jetty.deployer.ContextDeployer.access$000(ContextDeployer.java:67)
at org.mortbay.jetty.deployer.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:89)
at org.mortbay.util.Scanner.reportAddition(Scanner.java:410)
at org.mortbay.util.Scanner.reportDifferences(Scanner.java:324)
at org.mortbay.util.Scanner.scan(Scanner.java:280)
at org.mortbay.util.Scanner$1.run(Scanner.java:232)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] (SEAMSECURITY-118) Seam Security documentation issues and comments
by Marek Schmidt (Created) (JIRA)
Seam Security documentation issues and comments
-----------------------------------------------
Key: SEAMSECURITY-118
URL: https://issues.jboss.org/browse/SEAMSECURITY-118
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.1.0.Beta3
Reporter: Marek Schmidt
Fix For: 3.1.0.Final
Security
1.2.1. Maven Dependencies
* "<seam.version>3.0.0.Final</seam.version>" should be changed to 3.1.0.Final
* "<artifactId>seam-security-impl</artifactId>" is no longer valud, should be seam-security (only if the suggested seam version "seam.version" is changed to e.g. 3.1.0.Final in the docs)
2.3. Which Authenticator will Seam use?
* "Seam Config" should be something like "Solder XML Config" instead, mentioned twice
3.4.3. Applying the binding to your business methods
* "Seam Catch" should be something like "Solder Exception Handling" instead
4.2.4. Credential
* the example of IdentityObjectCredential should probably contain annotations on "IdentityObject identityObject;" for clarity (as the getter is omitted)
(e.g. @ManyToOne @JoinColumn(name = "IDENTITY_OBJECT_ID")
5.2.2.1. Using OpenID as your only authentication method
* "Seam Config" should be something like "Solder XML Config" instead
* "<security:Identity>" should be "<security:IdentityImpl>"
* "<security:authenticatorClass>org.jboss.seam.security.external.openid.OpenIdAuthenticator</security:authenticator>" is invalid XML (end tag doesn't match)
5.2.4. Managing the OpenID authentication process
* "The API described in this section will likely be changed in a future version of Seam to allow for easier handling of the OpenID authentication lifecycle."
is this still true?
* "The above example assumes that the Seam Servlet module is used to allow injection of the ServletContext."
this note can probably be removed, as Servlet is now in Solder, or changed to reflect that Solder is now responsible for this.
Missing Pieces
# anything from org.jboss.seam.security.annotations.permission and org.jboss.seam.security.permission (Identifier, Permission, SecuredView...) is not documented
(is it supposed to be working yet?)
# package org.jboss.seam.security.annotations.rememberme (TokenValue, TokenUsername) is not documented (should it be removed?)
# security events are not documented (all events from org.jboss.seam.security.events except DeferredAuthenticationEvent, which is mentioned in an OpenID example)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (SEAMSECURITY-89) Seam-security should have a non-optional runtime dependency on seam-international because it cannot run without it in the classpath
by Geoffrey De Smet (JIRA)
Seam-security should have a non-optional runtime dependency on seam-international because it cannot run without it in the classpath
-----------------------------------------------------------------------------------------------------------------------------------
Key: SEAMSECURITY-89
URL: https://issues.jboss.org/browse/SEAMSECURITY-89
Project: Seam Security
Issue Type: Bug
Reporter: Geoffrey De Smet
Seam-security has a compile time dependency on seam-international-api, but no runtime dependency on seam-international.
As a result, depending on seam-security and not on seam-international, gives a bootstrap exception:
{code}
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Locale] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.international.status.ApplicationBundles.appLocale]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:404)
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:206)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.deployer.ContextDeployer.deploy(ContextDeployer.java:268)
at org.mortbay.jetty.deployer.ContextDeployer.access$000(ContextDeployer.java:67)
at org.mortbay.jetty.deployer.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:89)
at org.mortbay.util.Scanner.reportAddition(Scanner.java:410)
at org.mortbay.util.Scanner.reportDifferences(Scanner.java:324)
at org.mortbay.util.Scanner.scan(Scanner.java:280)
at org.mortbay.util.Scanner$1.run(Scanner.java:232)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months