You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mi...@ubsw.com on 2003/03/20 09:09:42 UTC
SecurityFilter used with JBoss?
JBoss has many PAM modules including one DatabaseServerLoginModule. Can this be used with the SecurityFilter?
I ask because it seems to be a parameter to add such a realm module:
<!-- start with a Catalina realm adapter to wrap the Catalina realm defined below -->
<realm className="org.securityfilter.realm.catalina.CatalinaRealmAdapter" />
===========
Thank You
Mick Knutson
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: SecurityFilter used with JBoss?
Posted by Max Cooper <ma...@maxcooper.com>.
Mick,
I suspect that it wouldn't work, but I have never tested it. I offer my
support if you want to try it out, but I don't have any experience with
JBoss.
-Max
----- Original Message -----
From: <Mi...@ubsw.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 12:09 AM
Subject: SecurityFilter used with JBoss?
JBoss has many PAM modules including one DatabaseServerLoginModule. Can this
be used with the SecurityFilter?
I ask because it seems to be a parameter to add such a realm module:
<!-- start with a Catalina realm adapter to wrap the Catalina realm
defined below -->
<realm className="org.securityfilter.realm.catalina.CatalinaRealmAdapter"
/>
===========
Thank You
Mick Knutson
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Populating form fields
Posted by Konstantina Stamopoulou <st...@intracom.gr>.
Try the following:
<html:text property="fullName"
value="<%=((ContractSetupData)contractData).getFullName()%>"/>
I believe it will work.
Konstantina
----- Original Message -----
From: "Karl Stenerud" <ka...@webartjapan.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 10:48 AM
Subject: Populating form fields
> How do you populate form fields in struts?
>
> I have a page with a form ContractSetupForm, which then forwards to
another
> page that contains a ContractForm, which has some fields the same, some
> different. In my action class leading to this form, I made a
> ContractSetupData bean and populated it, then put it into the request
> context.
>
> Now I want to have the data from the ContractSetupData put into specific
> fields in the new page. I tried it like this:
>
> <html:form action="contract_change.do" name="contractForm"
> type="view.ContractForm">
> <table>
> <tr>
> <th>Name</th>
> <td>
> <html:text property="fullName" value="<bean:write
> name="contractData" property="fullName">"/>
> </td>
> </tr>
> </table>
> <br>
> <html:submit value="Set"/>
> </html:form>
>
> where "contractData" is the ContractSetupData from the previous action.
> Unfortunately, this doesn't work since I can't embed a tag within a quoted
> field. Is there some other way to do this?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Populating form fields
Posted by Karl Stenerud <ka...@webartjapan.com>.
How do you populate form fields in struts?
I have a page with a form ContractSetupForm, which then forwards to another
page that contains a ContractForm, which has some fields the same, some
different. In my action class leading to this form, I made a
ContractSetupData bean and populated it, then put it into the request
context.
Now I want to have the data from the ContractSetupData put into specific
fields in the new page. I tried it like this:
<html:form action="contract_change.do" name="contractForm"
type="view.ContractForm">
<table>
<tr>
<th>Name</th>
<td>
<html:text property="fullName" value="<bean:write
name="contractData" property="fullName">"/>
</td>
</tr>
</table>
<br>
<html:submit value="Set"/>
</html:form>
where "contractData" is the ContractSetupData from the previous action.
Unfortunately, this doesn't work since I can't embed a tag within a quoted
field. Is there some other way to do this?
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org