Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[higgins-dev] CardName and CardId

Hi Mike/Jim,

 

I was running some tests on a locally deployed TokenService which uses JNDI CP. I successfully created a Digital Subject Profile, generated the card and imported to CardSpace. When I used the card to sign into an RP, I got the following error

 

20:03:07,887 TRACE LogHelper.trace (54): before IContext::open

20:03:07,892 DEBUG JNDIContext._setupContext (600): Attempting to create initial context: ldap://localhost:389

20:03:07,905 DEBUG JNDIContext.open (518): Context opened: urn:Higgins-LDAP-Server,  as: jjacob10@xxxxxxxxxxxxx

20:03:07,906 TRACE LogHelper.trace (54): after IContext::open

20:03:07,907 TRACE LogHelper.trace (54): before IContext::getSubject

20:03:07,907 DEBUG JNDIContext.getSubject (1164): Searching for Digital Subject: Test-Card as: jjacob10@xxxxxxxxxxxxx in context: urn:Higgins-LDAP-Server,

20:03:07,920 ERROR LogHelper.error (102): A request failed with the exception {0}.

20:03:07,921 ERROR LogHelper.error (102): org.eclipse.higgins.idas.api.NoSuchSubjectException: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'uid=Test-Card,ou=identities,dc=higgins,dc=eclipse,dc=org'

20:03:07,922 ERROR LogHelper.error (102): {0}::{1} JNDIContext.java:569.

20:03:07,922 ERROR LogHelper.error (102): {0}::{1} JNDIContext.java:1202.

20:03:07,923 ERROR LogHelper.error (102): {0}::{1} JNDIContext.java:1150.

20:03:07,924 ERROR LogHelper.error (102): {0}::{1} DigitalIdentityHandler.java:351.

20:03:07,924 ERROR LogHelper.error (102): {0}::{1} CompoundHandler.java:100.

20:03:07,925 ERROR LogHelper.error (102): {0}::{1} SecurityTokenService.java:158.

20:03:07,925 ERROR LogHelper.error (102): {0}::{1} SecurityTokenServiceServerBinding.java:113.

20:03:07,926 ERROR LogHelper.error (102): {0}::{1} TrustBindingImpl.java:41.

20:03:07,926 ERROR LogHelper.error (102): {0}::{1} TrustBindingSkeleton.java:70.

20:03:07,927 ERROR LogHelper.error (102): {0}::{1} NativeMethodAccessorImpl.java:-2.

20:03:07,935 ERROR LogHelper.error (102): {0}::{1} NativeMethodAccessorImpl.java:39.

20:03:07,937 ERROR LogHelper.error (102): {0}::{1} DelegatingMethodAccessorImpl.java:25.

20:03:07,938 ERROR LogHelper.error (102): {0}::{1} Method.java:585.

 

I had used the card name as “Test Card” when generating the card. Looking at the .crd file, I found that the card name is also added as part of the CardId (space char replaced with - char)

 

<InformationCardReference><CardId>urn:Higgins-LDAP-Server&amp;cardid=Test-Card</CardId><CardVersion>1</CardVersion></InformationCardReference><CardName>Test Card</CardName>…….

 

If I use the user name as card name when generating card, I’m able to successfully login to the RP with that card.

 

Is it a bug or something wrong with my configuration or working as expected?

 

Thanks,

Jeesmon


Back to the top