Package org.restheart.security
Class MongoRealmAccount
java.lang.Object
org.restheart.security.BaseAccount
org.restheart.security.PwdCredentialAccount
org.restheart.security.MongoRealmAccount
- All Implemented Interfaces:
io.undertow.security.idm.Account,Serializable,WithProperties<org.bson.BsonDocument>
public class MongoRealmAccount
extends PwdCredentialAccount
implements WithProperties<org.bson.BsonDocument>
Account implementation used by MongoRealmAuthenticator
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMongoRealmAccount(String name, char[] password, Set<String> roles, org.bson.BsonDocument properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.BsonDocumentMethods inherited from class org.restheart.security.PwdCredentialAccount
getCredentialsMethods inherited from class org.restheart.security.BaseAccount
getPrincipal, getRoles, toString
-
Constructor Details
-
Method Details
-
properties
public org.bson.BsonDocument properties()- Specified by:
propertiesin interfaceWithProperties<org.bson.BsonDocument>
-
propertiesAsMap
- Specified by:
propertiesAsMapin interfaceWithProperties<org.bson.BsonDocument>
-