Search in sources :

Example 16 with IdmAuthorityChange

use of eu.bcvsolutions.idm.core.model.entity.IdmAuthorityChange in project CzechIdMng by bcvsolutions.

the class OAuthAuthenticationManagerTest method getAuthChange.

private IdmAuthorityChange getAuthChange(IdmIdentityDto i, DateTime dt) {
    IdmAuthorityChange c = new IdmAuthorityChange();
    c.setIdentity(new IdmIdentity(i.getId()));
    c.setAuthChangeTimestamp(dt);
    return c;
}
Also used : IdmAuthorityChange(eu.bcvsolutions.idm.core.model.entity.IdmAuthorityChange) IdmIdentity(eu.bcvsolutions.idm.core.model.entity.IdmIdentity)

Aggregations

IdmAuthorityChange (eu.bcvsolutions.idm.core.model.entity.IdmAuthorityChange)16 IdmIdentityDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto)11 Test (org.junit.Test)10 IdmIdentityContractDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityContractDto)9 IdmRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmRoleDto)9 DateTime (org.joda.time.DateTime)7 IdmIdentityRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityRoleDto)4 IdmIdentity (eu.bcvsolutions.idm.core.model.entity.IdmIdentity)4 IdmIdentityContract (eu.bcvsolutions.idm.core.model.entity.IdmIdentityContract)2 IdmJwtAuthentication (eu.bcvsolutions.idm.core.security.api.domain.IdmJwtAuthentication)2 ResultCodeException (eu.bcvsolutions.idm.core.api.exception.ResultCodeException)1 IdmAuthenticationException (eu.bcvsolutions.idm.core.security.exception.IdmAuthenticationException)1 AbstractUnitTest (eu.bcvsolutions.idm.test.api.AbstractUnitTest)1 TransactionStatus (org.springframework.transaction.TransactionStatus)1