Re: [OT] SSLExt question

2003-03-02 Thread alexj
Hi John,

Have you update your struts-config file and change action mapping
type like this way :

action-mappings type=org.apache.struts.config.SecureActionConfig

--
Alexandre Jaquet

- Original Message -
From: John Dubchak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 7:08 PM
Subject: [OT] SSLExt question


Hello,

I'm hoping someone else has integrated Struts, Tiles and the SSL extensions
from sslext.sourceforge.net.  What I've done is tried to follow the sample
sslext application and add the plugin to struts-config.xml along with the
set-property secure=true to a couple of my actions and now everything is
coming up as HTTP 400 errors.

I'm using Jetty and everything was working prior to adding the sslext stuff.
Here is an excerpt from my struts-config.xml file:

plug-in className=org.apache.struts.action.SecurePlugIn
set-property property=httpPort value=8080/
set-property property=httpsPort value=8443/
set-property property=enable value=true/
/plug-in

And a sample from a login action:

action path=/login-request
type=org.apache.struts.actions.ForwardAction
parameter=login
set-property property=secure value=true/
/action

I'll entertain any suggestions.

Thanks,
John

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread John Dubchak
On Sunday 02 March 2003 12:04, alexj wrote:
 Hi John,

 Have you update your struts-config file and change action mapping
 type like this way :

 action-mappings type=org.apache.struts.config.SecureActionConfig

Yes, sorry I forgot to mention that.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread alexj
have you use the ssl form tag in your page ?
sslext:form action=/login 

--

Alexandre Jaquet

- Original Message - 
From: John Dubchak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 7:41 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:04, alexj wrote:
 Hi John,

 Have you update your struts-config file and change action mapping
 type like this way :

 action-mappings type=org.apache.struts.config.SecureActionConfig

Yes, sorry I forgot to mention that.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread John Dubchak
On Sunday 02 March 2003 12:23, alexj wrote:
 have you use the ssl form tag in your page ?
 sslext:form action=/login

No, but I can't even get that far to show the form.  I'm trying to redirect 
through SSL with a basic form action in struts-config.xml to show the form 
for the first time with:

org.apache.struts.actions.ForwardAction

and setting the secure property to true.  The complete action is:

action path=/login-request
type=org.apache.struts.actions.ForwardAction
parameter=login

set-property property=secure value=true/
/action

It is simply a blank request, nothing else at that point.

Thanks,
John

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread alexj
jetty is configured for ssl ?

I don't know the procedure for jetty I use tomcat.

--
Alexandre Jaquet
- Original Message -
From: John Dubchak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 7:51 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:23, alexj wrote:
 have you use the ssl form tag in your page ?
 sslext:form action=/login

No, but I can't even get that far to show the form.  I'm trying to redirect
through SSL with a basic form action in struts-config.xml to show the form
for the first time with:

org.apache.struts.actions.ForwardAction

and setting the secure property to true.  The complete action is:

action path=/login-request
type=org.apache.struts.actions.ForwardAction
parameter=login

set-property property=secure value=true/
/action

It is simply a blank request, nothing else at that point.

Thanks,
John

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread John Dubchak
On Sunday 02 March 2003 12:30, alexj wrote:
 jetty is configured for ssl ?

 I don't know the procedure for jetty I use tomcat.

Yes, I also have jetty configured correctly and a keystore installed since I 
can use SSL without struts.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread alexj
have you got the correct sslext.jar for your version of struts ?
does the sample app work ?

--
Alexandre Jaquet

- Original Message -
From: John Dubchak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 7:57 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:30, alexj wrote:
 jetty is configured for ssl ?

 I don't know the procedure for jetty I use tomcat.

Yes, I also have jetty configured correctly and a keystore installed since I
can use SSL without struts.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread John Dubchak
On Sunday 02 March 2003 12:46, alexj wrote:
 have you got the correct sslext.jar for your version of struts ?
 does the sample app work ?

Yes and yes.  ;-)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] SSLExt question

2003-03-02 Thread alexj
have you add in your jsp the directive :
%@ taglib uri=/WEB-INF/sslext.tld prefix=sslext%



--

Alexandre Jaquet

- Original Message - 
From: John Dubchak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 8:13 PM
Subject: Re: [OT] SSLExt question


On Sunday 02 March 2003 12:46, alexj wrote:
 have you got the correct sslext.jar for your version of struts ?
 does the sample app work ?

Yes and yes.  ;-)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]