Two Laptop Bag*
The moose likes JForum and the fly likes reason for createZip and createClassesJar being commented out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "reason for createZip and createClassesJar being commented out" Watch "reason for createZip and createClassesJar being commented out" New topic
Author

reason for createZip and createClassesJar being commented out

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Why are those two targets commented out in build.xml?

also.. good work on SSO.

I will using it to intergrate jforum with my website. I found it easier to work with than mvnforum, which I am using currently.

I also have some extentions I want to propose in the SSO code.

When SSO creates a new user, I would like it to use a good email address and good password. Email would be needed for people to watch topics and such. I would like to send it through a session or request attribute.

I have made following changes:
SystemGlobals.properties:
sso.password.attribute = password
sso.email.attribute = email
sso.default.email = sso@user
sso.default.password = sso

ControllerUtils.java:
private void checkSSO(UserSession userSession).......


and I added the Keys to ConfigKeys.java file.

I have not tested it yet, but it should work.

How can we included this in jforum?

Regards,
Paul


[originally posted on jforum.net by subpaul]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
createZip / createJar are commented out because they aren't working correctly (at least weren't).

About the SSO, I think your comments make sense. Could you please add it to JIRA ( http://www.jforum.net/jira )? you can just link to this topic.

Nice to hear you've found SSO support good and easy to use. I havent' tested it with LDAP yet.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Done..

http://www.jforum.net/jira/browse/JF-309

after testing.. should I attach files here?

Paul

[originally posted on jforum.net by subpaul]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reason for createZip and createClassesJar being commented out
 
Similar Threads
RemoteSSO?
Using JForum SSO - a kludger's tale
SSO is secure ?
Problem getting email/password from session
Cookie-based SSO and v2.1.7