|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Integration of Roller with websiteHi ,
I am new to Roller. i downloaded and istatlled as per the Guides provided.now my prob is how i can integrate roller with mysite. my problems are a) how to make a user login to our site at the same time user has able to login to roller with respect to session etc. b)please provide step by step guide if u have . bcz i am struggling for 2 days. i found in forums by changing in security.xml we can achive . but i am unable to finf any solution. THanks in adv ... thanks |
|
|
Re: Integration of Roller with websiteWhat are you using for Security on your own site? Container-managed
authentication or Spring Security per chance? The best way to integrate Roller with some sort of single sign-on system is to use CAS. http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS Matt On Thu, Aug 20, 2009 at 5:38 AM, MAD789 <madhavkumar.y@...> wrote: > > Hi , > > I am new to Roller. i downloaded and istatlled as per the Guides > provided.now my prob is how i can integrate roller with mysite. > my problems are > a) how to make a user login to our site at the same time user has able to > login to roller > with respect to session etc. > b)please provide step by step guide if u have . > bcz i am struggling for 2 days. i found in forums by changing in > security.xml we can achive . but i am unable to finf any solution. > > THanks in adv ... thanks > > -- > View this message in context: > http://www.nabble.com/Integration-of-Roller-with-website-tp25058916s12275p25058916.html > Sent from the Roller - User mailing list archive at Nabble.com. > > |
|
|
Re: Integration of Roller with websiteThanks Mraible . But my site is running on jsp's i.e 2 tier architecture. there is only Db authentication for users . once db authenticated .then in login.jsp we create a httpsession with the credentials .
that was the prob . we are not using any CAS and LDAP. if i deploy the roller.war in different server. is there any possibility to get the session of the login.jsp to the Roller. means writing a filter with acegi(before logining into roller and directly accessing the home page of roller user) of roller to check the httpsession like that.... thanks in adv
|
|
|
Re: Integration of Roller with websiteYou could probably write a custom Authentication Provider for Spring
Security so it recognizes your session. Here's how I've programmatically logged into Spring Security in the past (from an unprotected Action in the same webapp). UsernamePasswordAuthenticationToken auth = new UsernamePasswordAuthenticationToken( user.getUsername(), user.getConfirmPassword(), user.getAuthorities()); auth.setDetails(user); SecurityContextHolder.getContext().setAuthentication(auth); Hope this helps, Matt On Fri, Aug 21, 2009 at 1:58 AM, MAD789 <madhavkumar.y@...> wrote: > > Thanks Mraible . But my site is running on jsp's i.e 2 tier architecture. > there is only Db authentication for users . once db authenticated .then in > login.jsp we create a httpsession with the credentials . > > that was the prob . we are not using any CAS and LDAP. if i deploy the > roller.war in different server. is there any possibility to get the session > of the login.jsp to the Roller. means writing a filter with acegi(before > logining into roller and directly accessing the home page of roller user) > of roller to check the httpsession like that.... > > thanks in adv > > mraible wrote: > > > > What are you using for Security on your own site? Container-managed > > authentication or Spring Security per chance? The best way to integrate > > Roller with some sort of single sign-on system is to use CAS. > > > > > http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS > > > > Matt > > > > On Thu, Aug 20, 2009 at 5:38 AM, MAD789 <madhavkumar.y@...> wrote: > > > >> > >> Hi , > >> > >> I am new to Roller. i downloaded and istatlled as per the Guides > >> provided.now my prob is how i can integrate roller with mysite. > >> my problems are > >> a) how to make a user login to our site at the same time user has able > to > >> login to roller > >> with respect to session etc. > >> b)please provide step by step guide if u have . > >> bcz i am struggling for 2 days. i found in forums by changing in > >> security.xml we can achive . but i am unable to finf any solution. > >> > >> THanks in adv ... thanks > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Integration-of-Roller-with-website-tp25058916s12275p25058916.html > >> Sent from the Roller - User mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Integration-of-Roller-with-website-tp25058916s12275p25074538.html > Sent from the Roller - User mailing list archive at Nabble.com. > > |
|
|
Re: Integration of Roller with website
|
|
|
Re: Integration of Roller with websiteThanks mraible..
i will try to impement that logic in a customized filter and call it that along with Acegi filters. i will reply to u,if is there any issue
|
| Free embeddable forum powered by Nabble | Forum Help |