Perl 6 - the future is here, just unevenly distributed

IRC log for #openam, 2013-11-20

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:26 jcwdev joined #openam
02:12 jcwdev joined #openam
02:27 jcwdev joined #openam
03:09 auke- joined #openam
03:22 jcwdev joined #openam
04:25 jcwdev hello
04:27 jcwdev I am curious about the repository. I see tags for the 10.x version
04:28 jcwdev and I see a tag for 11.0 - but it seems to be empty - at least that's how Fisheye/Crucible is representing it in my browser.
04:38 jcwdev and I don't seem to be able to checkout a copy of the source from https://svn.forgerock.org/openam/trunk
04:38 jcwdev it wants a subversion credentials that i cannot find anywhere on the wiki
04:43 jcwdev well, never mind. after stumbling around a good bit I have found the correct paths which will allow me to checkout and do not ask for auth
07:10 hos001 joined #openam
07:18 SteveF joined #openam
10:22 SteveF joined #openam
11:45 MegaMatt joined #openam
11:47 aldaris joined #openam
11:48 aldaris jcwdev Fisheye is a bit screwed up
11:48 aldaris I'll try to get that resolved with IT, but frankly we are having all sort of problems with Fisheye lately..
11:51 aldaris when trying to access https://svn.forgerock.org/openam/trunk/ SVN doesn't ask for credentials for me
12:49 jcwdev joined #openam
13:59 ludovicp joined #openam
15:59 jcwdev joined #openam
15:59 jcwdev left #openam
15:59 jcwdev joined #openam
15:59 jcwdev aldaris: thanks. i must have been doing something wrong the first time around when trying to checkout. i think i may have tried to reach the directory above /trunk which would of course be restricted. sorry for that confusion.
16:01 jcwdev i am used to fisheye giving me all kinds of repo pathing information. though i have only ever used their SaaS solution which is now EOL.
16:02 jcwdev I'm afraid that Fisheye as a product is going to die slowly :/
16:03 jcwdev anyhow, thanks for the feedback.
16:04 jcwdev joined #openam
16:07 jcwdev i'm just beginning to work with the open am product, is this the best IRC room to watch for activity or should i join others as well? just trying to get a handle on dialog and learn by absorption. i find that watching discussion is a good tactic for this...
16:07 aldaris this IRC room is the best :)
16:08 aldaris there is #opensso room as well, but nothing really happens there
17:04 Hunger- joined #openam
17:55 pdurbin aldaris: a blog post with a configured fedlet would be fine. great even. I'm out of the office this week
17:57 aldaris pdurbin: once I get around it…
17:57 aldaris I was very disappointed with the unconfigured fedlet
17:58 aldaris truth to be told my initial attempt to set up the fedlet was with configured fedlet, hence I thought this should be simple
17:59 pdurbin yeah, I was able to get a configured fedlet to talk to its parent OpenAM IdP, at least
18:00 aldaris well, the configured fedlet is indeed better in certain ways, like it actually bundles less from the stupid libraries than the unconfigured fedlet...
18:01 aldaris which is already quite disturbing :)
18:13 jcwdev joined #openam
18:54 aldaris joined #openam
19:56 aldaris1 joined #openam
20:01 MegaMatt I grabbed the sample CAM from https://wikis.forgerock.org/confluence/display/openam/Using+maven+to+build+a+custom+authentication+module
20:02 aldaris1 m'kay
20:02 MegaMatt and I see it has a login: and password: fields .. and a "submit" button...
20:02 MegaMatt I'm trying to add another button
20:02 aldaris okay
20:02 MegaMatt But not quite sure what file to edit to add the button
20:02 MegaMatt I thought it would be in my xml file
20:03 aldaris you would need to edit MyModule.xml
20:03 MegaMatt That's what I thought, but I only see the login: and password: prompts in there
20:03 MegaMatt and nothing about the submit button
20:03 MegaMatt so I'm not sure what to add to get another button
20:03 MegaMatt as there's not an example in that xml
20:04 aldaris that is because the button is implied
20:04 MegaMatt There's only two <Prompt> calls
20:04 aldaris if you need more than a submit button, then you need to add ConfirmationCallbacks
20:04 aldaris and the implicit button will disappear right away
20:05 MegaMatt Is there an example I can follow?
20:05 aldaris sure, see Membership.xml
20:06 aldaris or maybe even HOTP.xml
20:08 MegaMatt Those are in my tomcat/webapps/openam/ ?
20:08 aldaris config/auth/default/*.xml
20:08 aldaris and yes
20:08 MegaMatt ok, it's membership.jsp there
20:09 MegaMatt no xml :(
20:09 aldaris oh well
20:09 aldaris sorry
20:09 MegaMatt no, it's ok - just why I couldn't find it
20:09 MegaMatt haha
20:09 aldaris then WEB-INF/lib/openam-auth-membership.jar!config/auth/default/Membership.xml
20:09 MegaMatt That's why I had to ask the directory
20:09 MegaMatt ah.. it's in the jar file .. ok
20:09 aldaris what build are you on?
20:10 aldaris I'm pretty sure 11 should have it in the WAR and not in JARs
20:10 MegaMatt I think I'm on 10.1
20:10 aldaris booooooo
20:10 MegaMatt have to be for this example, sorry ;)
20:10 MegaMatt Not my choice ;)
20:11 MegaMatt Yeah openam-auth-membership-10.1.0-Xpress.jar .. and huge thanks btw
20:11 MegaMatt making my life a lot easier using your knowledge bank :)
20:12 aldaris well if it's a bank, then surely you are in debt now :D
20:12 MegaMatt I'll just declare bankruptcy later ;)
20:12 MegaMatt (I'm American, remember! ;) hahaha
20:13 aldaris right, credit card owner. Then one time there's a bill coming for ya :)
20:14 MegaMatt A Lannister pays his debts...
20:15 MegaMatt So.. let me ask you this
20:16 MegaMatt If I keep MyModule the same, but just replace MyModule.xml with the Member.xml from the auth-membership.jar file
20:16 MegaMatt Will it show me the new layout/buttons from Member.xml?
20:16 aldaris probably no
20:16 MegaMatt Or will it all break because  MyModule is too simple?
20:16 aldaris as the callbackdescriptor has to have the same name as the module
20:16 MegaMatt bummer. can't be easy can it? heh
20:16 aldaris and there is some attribute in the XML pointing to the module as well
20:16 MegaMatt ah ok, I can change those in the xml file at least
20:17 aldaris plus Membership.xml uses its own JSP...
20:17 MegaMatt d'oh!
20:17 aldaris you should just copy the ConfirmationCallback part :p
20:17 MegaMatt Ok ok .. right on
20:22 MegaMatt Letsee what happens... ;D
20:23 MegaMatt Did something wrong, only one button still :)
20:23 MegaMatt hah
20:23 aldaris did you update the JAR
20:23 MegaMatt I did, and restarted my container
20:23 aldaris theoretically if you remove the file from the JAR and just put into the WAR into the same location, that should work just as well
20:24 MegaMatt ok, so remove from jar and put in webapps/config/auth/default you mean
20:24 MegaMatt I actually put in both, since it wasn't getting from my jar
20:26 MegaMatt Ah, at least now I'm getting "Authentication Failed"
20:27 MegaMatt So .. something changed.. at least
20:27 MegaMatt I'll figure it out from here, thanks for the tips though :)
20:40 MegaMatt Ah, I fixed it
20:41 MegaMatt Thanks a bunch, Peter
20:42 hos001 left #openam
21:04 tsmalmbe left #openam
21:05 tsmalmbe joined #openam
21:12 MegaMatt The part that is tripping me up is always this
21:12 MegaMatt Go to /openam/ssoadm.jsp?cmd=register-auth-module
21:12 MegaMatt Supply auth module class' fully qualified name and submit stop the webcontainer
21:12 MegaMatt the fully qualified name is not what I think it is, some of the time
21:13 MegaMatt It would be nice if it was easy to determine it ;)
21:14 aldaris it is the name of the class that extends AMLoginModule?
21:14 MegaMatt I'm dealing with somebody else's CAM now - what if I don't have the source, just have to guess which class it is?
21:15 aldaris look at the bytecode?
21:15 aldaris jd-gui?
21:16 aldaris educated guess based on class names?
21:16 MegaMatt com/foo/core/security/pam/mine/MyAuthenticationModule.class
21:16 MegaMatt that's what I see in the jar
21:16 aldaris sounds like a good candidate
21:16 MegaMatt so I think I have to give ssoadm.jsp the name of com.foo.core.security.pam.mine.MyAuthenticationModule
21:17 MegaMatt but.. it's a guess, and there's no real good way to tell if I'm right :(
21:17 MegaMatt and if I mess any of that up, it won't really tell me ... it just fails
21:17 MegaMatt I mean, the register goes through
21:17 aldaris yepp, it will
21:17 MegaMatt But then trying to use the module.... boom
21:18 MegaMatt I'm not really sure which error log would record the problem
21:18 MegaMatt I don't see anything in my catalina.out
21:19 aldaris Authentication is a good bet
21:20 MegaMatt authentication.error doesn't show anything good :(
21:24 aldaris you want to look at the debug folder's content
21:25 MegaMatt Ah.... I see, there's now an Authetication log there that wasn't there before
21:26 MegaMatt It just has my other mistakes though.. heh
21:28 MegaMatt Doesn't really show me that I registered the module wrong..
21:28 MegaMatt maybe it's in Core
21:29 aldaris have you enabled message level debug logging?
21:29 MegaMatt Nope. Heh
21:29 MegaMatt Ok ok, I have a meeting now ;)
21:29 MegaMatt I don't even want to know my current balance ;)
21:30 aldaris well I've already learned a lot about jstacks and gc settings :p
21:33 MegaMatt :)
21:40 MegaMatt does it matter what I name the jar file when it goes into the WEB-INF/classes dir? I would think not - I think that just picks up everything in there as part of the classpath....
21:41 MegaMatt I'm going with that
21:41 MegaMatt Answering my own question
21:41 MegaMatt :)
21:41 aldaris yeah, the name of the JAR can be anything
23:18 aldaris joined #openam
23:30 jcwdev joined #openam

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary