<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Implement JAAS based Authentication and Authorization for ADF Faces applications on OC4J 10.1.3</title>
	<atom:link href="http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-348506</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 24 Jun 2009 07:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-348506</guid>
		<description>Hi Lucas,
I&#039;ve a problem. isUserInRole() method returns everytime true.
I don&#039;t know why.
Please reply me which will help me .

Thanks
Peter</description>
		<content:encoded><![CDATA[<p>Hi Lucas,<br />
I&#8217;ve a problem. isUserInRole() method returns everytime true.<br />
I don&#8217;t know why.<br />
Please reply me which will help me .</p>
<p>Thanks<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laci P.</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-348500</link>
		<dc:creator>Laci P.</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-348500</guid>
		<description>I solved!

L.</description>
		<content:encoded><![CDATA[<p>I solved!</p>
<p>L.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laci P.</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-348498</link>
		<dc:creator>Laci P.</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-348498</guid>
		<description>I can write out the role name in isUserInRole() method.
But it returns false everytime.

Laci</description>
		<content:encoded><![CDATA[<p>I can write out the role name in isUserInRole() method.<br />
But it returns false everytime.</p>
<p>Laci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laci P.</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-348497</link>
		<dc:creator>Laci P.</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-348497</guid>
		<description>Hi Lucas,
your tutorial is very usefull for me, the authentication is working very well but the authorization it&#039;s not :(
I added the test user to the manager role on weblogic admin console.
When I would like to show an adf component only for the manager role the method:

    public boolean isUserInRole(String role) {
        return FacesContext.getCurrentInstance().getExternalContext().isUserInRole(role);
        }

return with false.
I have no errors.
What&#039;s the problem?
Thank you for your help!
Laci</description>
		<content:encoded><![CDATA[<p>Hi Lucas,<br />
your tutorial is very usefull for me, the authentication is working very well but the authorization it&#8217;s not <img src='http://technology.amis.nl/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I added the test user to the manager role on weblogic admin console.<br />
When I would like to show an adf component only for the manager role the method:</p>
<p>    public boolean isUserInRole(String role) {<br />
        return FacesContext.getCurrentInstance().getExternalContext().isUserInRole(role);<br />
        }</p>
<p>return with false.<br />
I have no errors.<br />
What&#8217;s the problem?<br />
Thank you for your help!<br />
Laci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zakir</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-348319</link>
		<dc:creator>zakir</dc:creator>
		<pubDate>Mon, 18 May 2009 17:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-348319</guid>
		<description>Hi Lucas Jellema ,

Is there such demo source for Jdeveloper 11g version? or can I need to know about process J_security form action and its use case process .
Please reply me which will help me .

Thanks
zakir
====</description>
		<content:encoded><![CDATA[<p>Hi Lucas Jellema ,</p>
<p>Is there such demo source for Jdeveloper 11g version? or can I need to know about process J_security form action and its use case process .<br />
Please reply me which will help me .</p>
<p>Thanks<br />
zakir<br />
====</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vimalan Balan</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-317846</link>
		<dc:creator>Vimalan Balan</dc:creator>
		<pubDate>Sat, 10 May 2008 09:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-317846</guid>
		<description>Hi,

I need help to run my application in standalone oc4j instance. I developed application using JDeveloper 10.1.3.3, EJB3.0, Toplink and ADF. Its working fine when i run through the embedded oc4j in JDeveloper and onPageLoad method is called and executed perfectly but its not happening in the standalone server.

After deploying my application in standalone oc4j instance, i am facing issues now.

1. 2008-05-10 12:11:29.039 WARNING could not create validator for validatorId:null and binding:#{bindings.deductionAmt.validator}
2008-05-10 12:11:29.961 WARNING The AdfFacesFilter has not been installed.  ADF Faces requires this filter for proper execution.

2. onPageLoad method is not calling when the page is loaded.

Thanks &amp; Regards
Vimalan Balan</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need help to run my application in standalone oc4j instance. I developed application using JDeveloper 10.1.3.3, EJB3.0, Toplink and ADF. Its working fine when i run through the embedded oc4j in JDeveloper and onPageLoad method is called and executed perfectly but its not happening in the standalone server.</p>
<p>After deploying my application in standalone oc4j instance, i am facing issues now.</p>
<p>1. 2008-05-10 12:11:29.039 WARNING could not create validator for validatorId:null and binding:#{bindings.deductionAmt.validator}<br />
2008-05-10 12:11:29.961 WARNING The AdfFacesFilter has not been installed.  ADF Faces requires this filter for proper execution.</p>
<p>2. onPageLoad method is not calling when the page is loaded.</p>
<p>Thanks &amp; Regards<br />
Vimalan Balan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshuman</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-283907</link>
		<dc:creator>Anshuman</dc:creator>
		<pubDate>Fri, 25 Jan 2008 15:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-283907</guid>
		<description>I am getting the following Error while i hit logout

The problem seems to be in the send redirect.



Caused by: java.lang.IllegalStateException: Response has already been committed
	at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:2107)
	at javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:202)
	at javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:202)
	at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:249)
	at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:168)
	at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)
	at java.security.AccessController.doPrivileged(Native Method)
	at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)
	at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)
	at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)
	at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:172)
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
	at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
	at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
	at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
	at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
	at java.security.AccessController.doPrivileged(Native Method)
	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
	at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
	... 16 more</description>
		<content:encoded><![CDATA[<p>I am getting the following Error while i hit logout</p>
<p>The problem seems to be in the send redirect.</p>
<p>Caused by: java.lang.IllegalStateException: Response has already been committed<br />
	at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:2107)<br />
	at javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:202)<br />
	at javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:202)<br />
	at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:249)<br />
	at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:168)<br />
	at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)<br />
	at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)<br />
	at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)<br />
	at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:172)<br />
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)<br />
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)<br />
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)<br />
	at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)<br />
	at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)<br />
	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)<br />
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)<br />
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)<br />
	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)<br />
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)<br />
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)<br />
	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)<br />
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)<br />
	at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)<br />
	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)<br />
	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)<br />
	at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)<br />
	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)<br />
	at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)<br />
	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)<br />
	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)<br />
	at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)<br />
	at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)<br />
	at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)<br />
	&#8230; 16 more</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SOnu</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-281151</link>
		<dc:creator>SOnu</dc:creator>
		<pubDate>Thu, 17 Jan 2008 12:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-281151</guid>
		<description>Target URL -- http://host:port/testapp-context-root/testservlet
Jan 17, 2008 5:20:18 PM oracle.security.jazn.oc4j.OC4JUtil doJAASLogin
WARNING: Login Failure: all modules ignored
javax.security.auth.login.LoginException: Login Failure: all modules ignored
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)</description>
		<content:encoded><![CDATA[<p>Target URL &#8212; <a href="http://host:port/testapp-context-root/testservlet" rel="nofollow">http://host:port/testapp-context-root/testservlet</a><br />
Jan 17, 2008 5:20:18 PM oracle.security.jazn.oc4j.OC4JUtil doJAASLogin<br />
WARNING: Login Failure: all modules ignored<br />
javax.security.auth.login.LoginException: Login Failure: all modules ignored<br />
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)<br />
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)<br />
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sonu</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-281148</link>
		<dc:creator>Sonu</dc:creator>
		<pubDate>Thu, 17 Jan 2008 12:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-281148</guid>
		<description>Hi tried this sample, worked very well in the first attempt, but the next day when i tried executing this ( trying from embeded oc4j ) getting following error -

Target URL -- http://host:port/testapp-context-root/helloservlet
Jan 17, 2008 5:20:18 PM oracle.security.jazn.oc4j.OC4JUtil doJAASLogin
WARNING: Login Failure: all modules ignored
javax.security.auth.login.LoginException: Login Failure: all modules ignored
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)

I am quite new to java, kindly help

Thanks
sonu</description>
		<content:encoded><![CDATA[<p>Hi tried this sample, worked very well in the first attempt, but the next day when i tried executing this ( trying from embeded oc4j ) getting following error -</p>
<p>Target URL &#8212; <a href="http://host:port/testapp-context-root/helloservlet" rel="nofollow">http://host:port/testapp-context-root/helloservlet</a><br />
Jan 17, 2008 5:20:18 PM oracle.security.jazn.oc4j.OC4JUtil doJAASLogin<br />
WARNING: Login Failure: all modules ignored<br />
javax.security.auth.login.LoginException: Login Failure: all modules ignored<br />
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)<br />
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)<br />
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)</p>
<p>I am quite new to java, kindly help</p>
<p>Thanks<br />
sonu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Clevenger</title>
		<link>http://technology.amis.nl/blog/1426/implement-jaas-based-authentication-and-authorization-for-adf-faces-applications-on-oc4j-1013/comment-page-1#comment-170442</link>
		<dc:creator>Rob Clevenger</dc:creator>
		<pubDate>Mon, 11 Dec 2006 21:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1426#comment-170442</guid>
		<description>Instead of String currentWebUser = ((SessionImpl)getDBTransaction().getSession()).getUserPrincipalName());

You can also just use the getUserPrincipalName() method on ApplicationModuleImpl directly for use in your prepareSession method, etc.

I do this in my blog app&#039;s prepareSession method as well.

http://svn.robsite.org:81/svn/adfblogger/adfblogger-admin/trunk/ModelAdmin/src/org/robsite/blogger/modelbc/services/BlogServiceImpl.java</description>
		<content:encoded><![CDATA[<p>Instead of String currentWebUser = ((SessionImpl)getDBTransaction().getSession()).getUserPrincipalName());</p>
<p>You can also just use the getUserPrincipalName() method on ApplicationModuleImpl directly for use in your prepareSession method, etc.</p>
<p>I do this in my blog app&#8217;s prepareSession method as well.</p>
<p><a href="http://svn.robsite.org:81/svn/adfblogger/adfblogger-admin/trunk/ModelAdmin/src/org/robsite/blogger/modelbc/services/BlogServiceImpl.java" rel="nofollow">http://svn.robsite.org:81/svn/adfblogger/adfblogger-admin/trunk/ModelAdmin/src/org/robsite/blogger/modelbc/services/BlogServiceImpl.java</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

