shibboleth-dev - standalone AttributeRequestor
Subject: Shibboleth Developers
List archive
- From: Tom Scavo <>
- To: Shibboleth Development <>
- Subject: standalone AttributeRequestor
- Date: Wed, 16 Mar 2005 17:36:15 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=mbJpYs8PH6sRbMcMAY80GFFmLHUXe1loPvHt0ksnel3wW/PeblIGTwUbM6V0KR1R6VvOjR+tWkNamSy6jh7zjL/Tkm71mZeW95aXQ0HAYKjNBgu0mojr8f+By8eoCrg+ETVUxPQcoK0CtSbGZV1Pv5orsQeKtoSVFtpADziDhqg=
Can we overload the fetchAttributes method in the new
AttributeRequestor class? Something like this:
static boolean fetchAttributes(Session session) {
SAMLSubject subject = session.getAuthenticationStatement().getSubject();
return fetchAttributes(session, subject);
}
static boolean fetchAttributes(Session session, SAMLSubject subject) {
// all the content of the current method with one line commented out...
}
Then a standalone attribute requester could call the latter with
suitably constructed values of session and subject. In this way, we
wouldn't have to copy any of the Java SP code.
Thanks,
Tom
Btw, can we change the name of AttributeRequestor to AttributeRequester? :-)
- standalone AttributeRequestor, Tom Scavo, 03/16/2005
Archive powered by MHonArc 2.6.16.