|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.ebxml.registry.security.authentication.UserRegistrar
Registers new users with the registry. Registration involves saving the public key certificate for the user in server KeyStore and storing their User object In registry.
| Field Summary | |
static java.lang.String |
ASSOC_TYPE_HAS_CERTIFICATE
|
| Constructor Summary | |
protected |
UserRegistrar()
|
| Method Summary | |
static UserRegistrar |
getInstance()
|
static void |
main(java.lang.String[] args)
|
org.oasis.ebxml.registry.bindings.rim.User |
registerUser(org.apache.xml.security.signature.XMLSignature headerSignature,
org.oasis.ebxml.registry.bindings.rs.SubmitObjectsRequest req)
It will try to register the user if the certificate in a signed SubmitObjectsRequest is not yet in the keystore. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ASSOC_TYPE_HAS_CERTIFICATE
| Constructor Detail |
protected UserRegistrar()
| Method Detail |
public org.oasis.ebxml.registry.bindings.rim.User registerUser(org.apache.xml.security.signature.XMLSignature headerSignature,
org.oasis.ebxml.registry.bindings.rs.SubmitObjectsRequest req)
throws RegistryException
UserRegistrationException - if SubmitObjectsRequest has more than
one User object, or its alias is not equal to the id of the unique User object,
or the id is not a valid UUID.
RegistryException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static UserRegistrar getInstance()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||