Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/server/was/Namespaces.java @ 2943:7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
request and response. If the authentication is successful the WAS
responses with a base64 encoded Security Assertion Markup Language.
The current implementation of the saml response simplifies the protocol
and misses validation.
flys-client/trunk@4909 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Tue, 10 Jul 2012 10:49:18 +0000 |
parents | |
children |
rev | line source |
---|---|
2943
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.client.server.was; |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
2 |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
3 import org.jdom.Namespace; |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
4 |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
5 public class Namespaces { |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
6 |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
7 public static final Namespace SAML_NS_ASSERT = |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
8 Namespace.getNamespace("urn:oasis:names:tc:SAML:1.0:assertion"); |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
9 public static final Namespace SAML_NS_PROTO = |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
10 Namespace.getNamespace("urn:oasis:names:tc:SAML:1.0:protocol"); |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
11 public static final Namespace XML_SIG_NS = |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
12 Namespace.getNamespace("http://www.w3.org/2000/09/xmldsig#"); |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
13 |
7683d4e43afa
Implement class representation of a Web Authentication Service (WAS)
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
14 } |