One thing ... I now have the sources from the Apache incubator project as of
Les's post of August 6th?? ... 

http://n2.nabble.com/Apache-Shiro-maven-snapshots-now-available-tp3400622p3400622.html

At least all of the required "shiro-web" source is together under the same
package structure, so I "feel" I'm closer.

Joet


knowself wrote:
> 
> Hi All,
> 
> I'm excited about using Shiro in my new Grails project ...
> 
> Everything went great with my testing the plugin "grails install-plugin
> shiro"
> 
> But, now I want to customize Shiro so that I can use tables with Table and
> Column names of my choosing.
> 
> I got the source from "svn co
> http://svn.apache.org/repos/asf/incubator/shiro/trunk/";
> 
> So, I've executed "grails uninstall-plugin shiro" ....
> 
> And I'm trying to get everything working again in the simple case before I
> begin customizing, but I can't get beyond the following error ...
> 
> I've researched it some, but since I'm new to Grails and the environment
> ... I'm not sure where the initialization of a SecurityManager should
> happen??
> 
> First the app chugs along with several of these in the console ...
> 
> Base Directory: /Users/virtuola/Documents/Virtuola LLC/ScoreEZ/scoreez
> Running script /Applications/grails-1.1.1/scripts/RunApp.groovy
> Environment set to development
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
>      [copy] Copying 1 file to
> /Users/virtuola/.grails/1.1.1/projects/scoreez
> Running Grails application..
> Server running. Browse to http://localhost:9090/scoreez
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
> Running Grails application..
> Server running. Browse to http://localhost:9090/scoreez
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
> Running Grails application..
> Server running. Browse to http://localhost:9090/scoreez
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
>   [groovyc] Compiling 36 source files to
> /Users/virtuola/.grails/1.1.1/projects/scoreez/classes
> Running Grails application..
> 
> Then we get the error messages below when you try to initiate a request at
> the browser.
> 
> Any ideas!
> 
> At lease I know that the problem is resolvable ...
> 
> That's why I chose open source, I can't take the risk of closed source
> with my project!
> 
> Joe Terry
> www.ScoreEZ.com
> 
> 
> 
> 
> Server running. Browse to http://localhost:9090/scoreez
> 2009-08-10 21:52:56,681 [2014...@qtp7-0] ERROR view.GroovyPageView  -
> Error processing GroovyPageView: Error executing tag
> <shiro:isNotLoggedIn>: java.lang.IllegalStateException: No SecurityManager
> accessible to this method, either bound to the
> org.apache.shiro.util.ThreadContext or as a vm static singleton.  See the
> org.apache.shiro.SecurityUtils.getSubject() method JavaDoc for an
> explanation of expected environment configuration.
> org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error
> executing tag <shiro:isNotLoggedIn>: java.lang.IllegalStateException: No
> SecurityManager accessible to this method, either bound to the
> org.apache.shiro.util.ThreadContext or as a vm static singleton.  See the
> org.apache.shiro.SecurityUtils.getSubject() method JavaDoc for an
> explanation of expected environment configuration.
>         at
> Users_virtuola_Documents_Virtuola_20LLC_ScoreEZ_scoreez_grails_app_views_public_index_gsp.run(Users_virtuola_Documents_Virtuola_20LLC_ScoreEZ_scoreez_grails_app_views_public_index_gsp:24)
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException:
> java.lang.IllegalStateException: No SecurityManager accessible to this
> method, either bound to the org.apache.shiro.util.ThreadContext or as a vm
> static singleton.  See the org.apache.shiro.SecurityUtils.getSubject()
> method JavaDoc for an explanation of expected environment configuration.
>         ... 1 more
> Caused by: java.lang.IllegalStateException: No SecurityManager accessible
> to this method, either bound to the org.apache.shiro.util.ThreadContext or
> as a vm static singleton.  See the
> org.apache.shiro.SecurityUtils.getSubject() method JavaDoc for an
> explanation of expected environment configuration.
>         at
> org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:79)
>         at org.apache.shiro.SecurityUtils$getSubject.call(Unknown Source)
>         at ShiroTagLib.checkAuthenticated(ShiroTagLib.groovy:261)
>         at ShiroTagLib.this$2$checkAuthenticated(ShiroTagLib.groovy)
>         at ShiroTagLib$_closure2.doCall(ShiroTagLib.groovy:42)
>         ... 1 more
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Shiro-Source%2C-Custom-DB-Architechture-and-Grails-...-tp3421870p3421917.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to