Re: sslext -- anyone using it?

2006-09-15 Thread Brett Connor
selecting max... isn't a viable solution, because of other sessions as you say.
Assuming you're at least using Java, you might want to look at

java.sql.Statement.getGeneratedKeys()

Oracle database returns generated keys in the 'C' i/f, my memory's rusty for
JDBC but I know there is a way somewhere to get the key values in the same
statement, rather than have to execute another statement for 'curval'.
getGeneratedKeys() may be it.

HTH
Brett


Quoting Michael Rush [EMAIL PROTECTED]:

 I'm looking into implementing something to force ssl for logins (and
 a few other pages) and then switching back to standard http once
 logged in.

 I found sslext at http://sslext.sourceforge.net/ but it looks like it
 hasn't been updated in a couple of years. I have a couple of concerns:
   * I'm running struts 1.3.x, which isn't officially supported
   * it requires using a custom controller/processorClass. I'm
 currently using the TilesRequestProcessor. So (I think) I'd have to
 create a custom Tiles processor that extends their
 SecureRequestProcessor.

 Are any of you using sslext? Or, any other solution?

 I also saw Ted's page at http://husted.com/struts/FAQ/controller-
 ssl.htm where another solution was offered, but I'm opposed to
 putting the host/domain info in the struts config file.

 Any feedback would be appreciated.

 Thanks,
 Michael

 -
 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: sslext -- anyone using it?

2006-09-15 Thread Brett Connor
Huh. Completely the wrong post to reply to. Sorry folks... this of course was
meant for the Oracle Sequence question.

Brett


Quoting Brett Connor [EMAIL PROTECTED]:

 selecting max... isn't a viable solution, because of other sessions as you
 say.
 Assuming you're at least using Java, you might want to look at

 java.sql.Statement.getGeneratedKeys()

 Oracle database returns generated keys in the 'C' i/f, my memory's rusty for
 JDBC but I know there is a way somewhere to get the key values in the same
 statement, rather than have to execute another statement for 'curval'.
 getGeneratedKeys() may be it.

 HTH
 Brett


 Quoting Michael Rush [EMAIL PROTECTED]:

  I'm looking into implementing something to force ssl for logins (and
  a few other pages) and then switching back to standard http once
  logged in.
 
  I found sslext at http://sslext.sourceforge.net/ but it looks like it
  hasn't been updated in a couple of years. I have a couple of concerns:
* I'm running struts 1.3.x, which isn't officially supported
* it requires using a custom controller/processorClass. I'm
  currently using the TilesRequestProcessor. So (I think) I'd have to
  create a custom Tiles processor that extends their
  SecureRequestProcessor.
 
  Are any of you using sslext? Or, any other solution?
 
  I also saw Ted's page at http://husted.com/struts/FAQ/controller-
  ssl.htm where another solution was offered, but I'm opposed to
  putting the host/domain info in the struts config file.
 
  Any feedback would be appreciated.
 
  Thanks,
  Michael
 
  -
  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]



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



Re: sslext -- anyone using it?

2006-09-15 Thread Adam J Samere
I have been using the sslext library for some time. I have only used it 
with Struts 1.1 and 1.2 though, never with 1.3.


As for your concerns regarding the custom controller/processor class, 
sslext comes with a SecureTilesRequestProcessor class. I have been using 
it with tiles without issue.


Adam

Michael Rush wrote:
I'm looking into implementing something to force ssl for logins (and a 
few other pages) and then switching back to standard http once logged in.


I found sslext at http://sslext.sourceforge.net/ but it looks like it 
hasn't been updated in a couple of years. I have a couple of concerns:

 * I'm running struts 1.3.x, which isn't officially supported
 * it requires using a custom controller/processorClass. I'm currently 
using the TilesRequestProcessor. So (I think) I'd have to create a 
custom Tiles processor that extends their SecureRequestProcessor.


Are any of you using sslext? Or, any other solution?

I also saw Ted's page at 
http://husted.com/struts/FAQ/controller-ssl.htm where another solution 
was offered, but I'm opposed to putting the host/domain info in the 
struts config file.


Any feedback would be appreciated.

Thanks,
Michael

-
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: sslext -- anyone using it?

2006-09-15 Thread Michael Rush
I have been using the sslext library for some time. I have only  
used it

with Struts 1.1 and 1.2 though, never with 1.3.

As for your concerns regarding the custom controller/processor class,
sslext comes with a SecureTilesRequestProcessor class. I have been  
using

it with tiles without issue.

Adam


Thats helpful. I guess I'll download it and give it a try. Thanks!

-michael

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