Hi Faisal, You never mentioned what platform your API is for... I was only presenting an option in case that platform was a database API, or if their API made use of stored procedures for validating authentication...
In any event, you'll most likely want to write a handler that inherits from org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler. By looking at my code or QueryDatabaseAuthenticationHandler's, it would at least give you a start on writing your own handler. John From: Faisal Memon [mailto:fmemo...@gmail.com] Sent: Wednesday, November 16, 2011 9:50 PM To: cas-user@lists.jasig.org Subject: Re: [cas-user] CAS server with API Hi Greg, We have an API from the vendor, but it looks like the below solution is more geared towards Stored procedures. Or am i missing something? On Wed, Nov 16, 2011 at 5:19 PM, Gasper, John <jgas...@ewu.edu<mailto:jgas...@ewu.edu>> wrote: Hi Faisal, I've developed an extension to the JDBC Authentication Handlers that make it pretty easy to authenticate against database stored procedures/user-defined functions, should your vendor's system expose such procedures/apis. I haven't had a chance to submit the enhancement for inclusion in the core application yet, but you can get the details and code at: http://sites.ewu.edu/jgasper/2011/10/01/using-a-database-stored-procedure-to-authenticate-cas-users/. John ________________________________ [cid:image001.jpg@01CCA509.264B75B0] John Gasper Identity & Integration Architect EWU Information Technology 202 Huston Hall Cheney, WA 99004 509.359.6419<tel:509.359.6419> jgas...@ewu.edu<mailto:jgas...@ewu.edu> www.ewu.edu<http://www.ewu.edu/> From: Misagh Moayyed [mailto:mmoay...@asu.edu<mailto:mmoay...@asu.edu>] Sent: Tuesday, November 15, 2011 9:59 AM To: cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> Subject: RE: [cas-user] CAS server with API Hi Faisal, Have you reviewed the QueryDatabaseAuthenticationHandler class? With that, you should be able to provide your own password encoder by extending the DefaultPasswordEncoder using the authentication API to possible encrypt the password before the query is executed. Please see this link for more info: https://wiki.jasig.org/display/CASUM/JDBC If that fails, you should be able to write your own handler and supply that to CAS in the deployerConfigContext.xml file. Hope this helps. From: Faisal Memon [mailto:fmemo...@gmail.com]<mailto:[mailto:fmemo...@gmail.com]> Sent: Tuesday, November 15, 2011 10:07 AM To: cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> Subject: [cas-user] CAS server with API Hello Everyone, We are in process of implementing CAS server at our school. We currently use third party .net portal that resides on top of our SIS. We were able to casify the web.config but now the issue is that we cant authenticate users because passwords are encrypted in the portal database. The vendor has provided us with an Authentication API. Has anyone ever used Third Party API along with CAS for authentication before? Thanks -- You are currently subscribed to cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: mmoay...@asu.edu<mailto:mmoay...@asu.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: jgas...@ewu.edu<mailto:jgas...@ewu.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: fmemo...@gmail.com<mailto:fmemo...@gmail.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: jgas...@ewu.edu<mailto:jgas...@ewu.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
<<inline: image001.jpg>>
<<inline: image002.jpg>>