USER
- User type in the system under testROLE
- Role type in the system under testpublic class IdentifierResolver<USER,ROLE>
extends java.lang.Object
Constructor and Description |
---|
IdentifierResolver(UserResolver<USER,ROLE> userResolver) |
Modifier and Type | Method and Description |
---|---|
UserIdentifier |
getIdentifierFor(LoginRole loginRole)
Returns the user identifier that should be used with the
given login role.
|
UserIdentifier |
getProducerIdentifier() |
public IdentifierResolver(UserResolver<USER,ROLE> userResolver)
public UserIdentifier getIdentifierFor(LoginRole loginRole)
loginRole
- Login rolepublic UserIdentifier getProducerIdentifier()