Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

[03:51:26 CST(-0600)] <phrearch> hello

[03:51:39 CST(-0600)] <phrearch> are there any webservice based authentication backends for cas available?

[04:37:41 CST(-0600)] <phrearch> is there a beginner tutorial somewhere how to build a cas auth plugin?

[04:37:49 CST(-0600)] <phrearch> especially setting up the maven part

[04:49:38 CST(-0600)] <phrearch> hard to find ini the docs, if any at all :S

[05:08:18 CST(-0600)] <phrearch> hm

[05:08:18 CST(-0600)] <phrearch> http://jasig.275507.n4.nabble.com/How-to-add-a-custom-authentication-handler-with-Maven-td3059922.html

[05:08:32 CST(-0600)] <phrearch> thats mentioning the process, but not providing a fix

[07:10:07 CST(-0600)] <phrearch> hello

[07:10:21 CST(-0600)] <phrearch> im trying to build cas in eclipse, but it fails on the tests

[07:10:34 CST(-0600)] <phrearch> i tried adding maven.test.skip to the run environment, but that didnt work

[07:18:03 CST(-0600)] <phrearch> ah got it

[07:37:12 CST(-0600)] <phrearch> https://wiki.jasig.org/display/CAS/How+To+Write+an+AuthenticationHandler

[07:37:22 CST(-0600)] <phrearch> this one doesnt mention importing dependencies

[07:37:34 CST(-0600)] <phrearch> not sure, but eclipse asks for them in my custom auth class

[08:01:41 CST(-0600)] <phrearch> sigh, where is the cas for dummies tutorial :/

[08:17:07 CST(-0600)] <phrearch> any idea what this is about?

[08:17:08 CST(-0600)] <phrearch> http://paste.pocoo.org/show/507656/

[08:26:04 CST(-0600)] <phrearch> i dont understand the whole xml layout thing. whats wrong with a simple ini file?

[08:30:33 CST(-0600)] <phrearch> suppose i want to add a custom authentication handler, where and how would i need to add a simple example?

[09:06:22 CST(-0600)] <phrearch> finally succeeded in making a custom auth plugin. it wasnt that hard after all

[09:10:10 CST(-0600)] <foxnesn> hi

[09:14:40 CST(-0600)] <phrearch> hi foxnesn

[09:16:30 CST(-0600)] <foxnesn> hey you wouldnt happen to know where the files are i need to edit to change the look of /cas/login do you?

[09:24:28 CST(-0600)] <phrearch> yea i do

[09:24:32 CST(-0600)] <phrearch> i just found out (smile)

[09:24:48 CST(-0600)] <phrearch> do you use maven overlay?

[09:25:15 CST(-0600)] <phrearch> you need to maintain this structure. you can copy the default files to your custom overlay

[09:25:15 CST(-0600)] <phrearch> https://github.com/Jasig/cas/tree/master/cas-server-webapp/src/main/webapp

[09:25:49 CST(-0600)] <phrearch> basically all you need is the pom.xml, and the src dir containing that stuff

[09:27:33 CST(-0600)] <foxnesn> could you tell me why i would need the pom file to edit css?

[09:28:15 CST(-0600)] <foxnesn> the file structure for theming seems strange

[09:28:24 CST(-0600)] <foxnesn> but i guess that is why they are working to improve it

[09:28:52 CST(-0600)] <phrearch> well, afaik, the pom file is used to build a .war file from the dependencies that it contain. if you put some additional files in /src/main, maven will use those files instead of the default ones

[09:29:08 CST(-0600)] <phrearch> yea, its a bit confusing.

[09:29:31 CST(-0600)] <phrearch> took me 5 hours to get it working. would have been much easier with some proper documentation for noobs like me

[09:30:41 CST(-0600)] <foxnesn> i have cas working just fine

[09:30:49 CST(-0600)] <foxnesn> it is the theming thing that im trying to figre out

[09:31:10 CST(-0600)] <foxnesn> cas did take me a bit to figure out prior to this

[09:33:15 CST(-0600)] <foxnesn> im still most definetely a noob but i did manage to edit the webflow

[09:33:20 CST(-0600)] <foxnesn> so maybe im a novice now lol

[09:34:07 CST(-0600)] <dd_> hello, anyone here able to help with a weird cas error?

[09:34:46 CST(-0600)] <phrearch> foxnesn: same here

[09:35:27 CST(-0600)] <phrearch> just use that maven overlay thing and use the same dir structure as the original css/images to customize

[09:35:55 CST(-0600)] <phrearch> https://github.com/wgthom/cas-maven-overlay

[09:36:02 CST(-0600)] <phrearch> this is an example pom file

[09:36:09 CST(-0600)] <phrearch> just run: mvn clean package on it

[09:36:33 CST(-0600)] <phrearch> and copy the src/main/webapp part in https://github.com/Jasig/cas/tree/master/cas-server-webapp/src/main/webapp to the same dir

[09:36:48 CST(-0600)] <phrearch> it will create a war file in /target which you can copy to the tomcat webapps dir

[09:38:22 CST(-0600)] <foxnesn> oh i know that

[09:38:30 CST(-0600)] <dd_> this is my cas log file: http://pastebin.com/Dv24XADL

[09:38:39 CST(-0600)] <foxnesn> im adjusting the theme is all

[09:38:46 CST(-0600)] <dd_> getting a nullpointerexception, looks like it has something to do with the sghe components

[09:38:53 CST(-0600)] <foxnesn> and the css,jsp are scattered

[09:42:40 CST(-0600)] <dd_> any idea?

[09:42:53 CST(-0600)] <foxnesn> ahh sungard

[09:43:43 CST(-0600)] <foxnesn> what are you trying to casify?

[09:44:20 CST(-0600)] <dd_> well, we are casifying banner ssb

[09:44:29 CST(-0600)] <dd_> it was working fine

[09:44:45 CST(-0600)] <dd_> but i'm trying to get cas proxying working now

[09:45:17 CST(-0600)] <dd_> HttpBasedServiceCredentialsAuthenticationHandler wasn't authenticating me before because of a SSL error

[09:45:50 CST(-0600)] <foxnesn> all i can say is looks like something in the deployer is not setup properly

[09:45:58 CST(-0600)] <dd_> i fixed that so now BindSgheLdapAuthenticationHandler authenicates, i get a ticket, then HttpBasedServiceCredentialsAuthenticationHandler authenticates (or tries to with the callback URL)

[10:03:44 CST(-0600)] <foxnesn> if you stick around long enough some of the cas devs will be in here

[10:15:08 CST(-0600)] <dd_> yeah, i think i've narrowed it down to one of the methods in the UDCIDLdapAuthenticationMetaDataPopulator class

[10:30:43 CST(-0600)] <dd_> ok, i think i figured that part out, had a duplicate bean left in my deployer file

[10:30:53 CST(-0600)] <dd_> got rid of the null pointer error

[10:31:14 CST(-0600)] <dd_> now i'm getting this: java.lang.NoSuchFieldError: log at org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolver.extractPrincipalId(CredentialsToLDAPAttributePrincipalResolver.java:43)

[10:35:04 CST(-0600)] <dd_> is there a problem with my log config?

[10:38:31 CST(-0600)] <foxnesn> your log config?

[10:39:01 CST(-0600)] <foxnesn> did you turn on debugging?

[10:40:10 CST(-0600)] <dd_> yes, just wondering what that error means

[12:22:57 CST(-0600)] <dd_> anybody know what this error signifies: java.lang.NoSuchFieldError: log at org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolver.extractPrincipalId(CredentialsToLDAPAttributePrincipalResolver.java:43)

[13:24:52 CST(-0600)] <dd> hello, any cas devs in here that can help?

[14:24:14 CST(-0600)] <ries> dd: best is to hang around, i usually see activity in the mornings (8 hours ago)

[14:24:28 CST(-0600)] <dd> ok

  • No labels