picketlink build fails
by Bill Burke
Tests in error:
testFindByMultipleAgentWithGroups(org.picketlink.test.idm.query.AgentQueryTestCase):
PLIDM000002: IdentityType [class org.picketlink.idm.model.SimpleAgent]
already exists with the given identifier [someAgent] for the given
Partition [default].
testFindByMultipleAgentWithGroups(org.picketlink.test.idm.query.AgentQueryTestCase):
PLIDM000002: IdentityType [class org.picketlink.idm.model.SimpleAgent]
already exists with the given identifier [someAgent] for the given
Partition [default].
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
11 years, 5 months
Supporting different credential types from a single authentication endpoint
by Pedro Igor Silva
Hi,
I would like to create a generic authentication endpoint using JAX-RS (with a single @Path for authentication) to support multiple credentials. Each credential type may have its own payload format, so I need to convert the payload to the correct implementation before authenticating.
Do I have to use @Provider for this "dynamic" behavior ? Or there is a more easy way to achieve that ?
What about using custom mime types for each credential type ?
Thanks.
Pedro Igor
11 years, 5 months