Skip to content

Commit

Permalink
March towards 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Mar 18, 2016
1 parent 36f60a9 commit c2af68f
Show file tree
Hide file tree
Showing 113 changed files with 119 additions and 118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.jasig.cas.audit.spi.ServiceManagementResourceResolver;
import org.jasig.cas.services.audit.Pac4jAuditablePrincipalResolver;
import org.jasig.inspektr.audit.AuditTrailManagementAspect;
import org.jasig.inspektr.audit.AuditTrailManager;
import org.jasig.inspektr.audit.spi.support.DefaultAuditActionResolver;
import org.jasig.inspektr.audit.spi.support.ObjectCreationAuditActionResolver;
import org.jasig.inspektr.audit.spi.support.ParametersAsStringResourceResolver;
Expand Down Expand Up @@ -40,7 +41,7 @@
* This is {@link CasManagementWebAppConfiguration}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("casManagementWebAppConfiguration")
@Lazy(true)
Expand Down Expand Up @@ -249,7 +250,7 @@ public AuditTrailManagementAspect auditTrailManagementAspect() {
* @return the audit trail management
*/
@Bean(name = "auditTrailManager")
public Slf4jLoggingAuditTrailManager auditTrailManager() {
public AuditTrailManager auditTrailManager() {
return new Slf4jLoggingAuditTrailManager();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* authentication handlers shall be chosen for a given authN event.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public interface AuthenticationHandlerResolver {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public interface AuthenticationSystemSupport {
*
* @return authentication result builder used to accumulate authentication transactions in this authentication event.
*
* @since 4.3.0
* @since 5.0.0
*/
AuthenticationResultBuilder establishAuthenticationContextFromInitial(Authentication authentication);

Expand All @@ -51,7 +51,7 @@ public interface AuthenticationSystemSupport {
* @return authentication result builder used to accumulate authentication transactions in this authentication event.
*
* @throws AuthenticationException exception to indicate authentication processing failure.
* @since 4.3.0
* @since 5.0.0
*/
AuthenticationResultBuilder handleInitialAuthenticationTransaction(Credential... credential) throws AuthenticationException;

Expand All @@ -64,7 +64,7 @@ public interface AuthenticationSystemSupport {
* @return authentication result builder used to accumulate authentication transactions in this authentication event.
*
* @throws AuthenticationException exception to indicate authentication processing failure.
* @since 4.3.0
* @since 5.0.0
*/
AuthenticationResultBuilder handleAuthenticationTransaction(AuthenticationResultBuilder authenticationResultBuilder,
Credential... credential)
Expand All @@ -78,7 +78,7 @@ AuthenticationResultBuilder handleAuthenticationTransaction(AuthenticationResult
*
* @return authentication result representing a final outcome of the authentication event.
*
* @since 4.3.0
* @since 5.0.0
*/
AuthenticationResult finalizeAllAuthenticationTransactions(AuthenticationResultBuilder authenticationResultBuilder, Service service);

Expand All @@ -91,7 +91,7 @@ AuthenticationResultBuilder handleAuthenticationTransaction(AuthenticationResult
* @return authentication result representing a final outcome of the authentication event.
*
* @throws AuthenticationException exception to indicate authentication processing failure.
* @since 4.3.0
* @since 5.0.0
*/
AuthenticationResult handleAndFinalizeSingleAuthenticationTransaction(Service service, Credential... credential)
throws AuthenticationException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* which given endpoint of a registered service must receive logout messages.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public interface SingleLogoutServiceLogoutUrlBuilder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* for a service that supports SLO should be handled.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public interface SingleLogoutServiceMessageHandler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public interface TicketState {
* the specific ticket type.
*
* @see ExpirationPolicy
* @since 4.3.0
* @since 5.0.0
*/
void update();
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* around an authentication manager implementation.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public abstract class AbstractAuthenticationManager implements AuthenticationManager {
/** Log instance for logging events, errors, warnings, etc. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* detect which handler(s) should be resolved for authentication.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("registeredServiceAuthenticationHandlerResolver")
public class RegisteredServiceAuthenticationHandlerResolver implements AuthenticationHandlerResolver {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* while delegating some to Spring namespaces inside the context config file.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("jpaEventsConfiguration")
public class JpaEventsConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* This is {@link JpaCasEventRepository} that stores event data into a RDBMS database.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Repository("casEventRepository")
@Transactional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Test cases for {@link JpaCasEventRepository}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:/jpa-eventscontext-test.xml")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* while delegating some to Spring namespaces inside the context config file.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("mongoDbEventsConfiguration")
public class MongoDbEventsConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* This is {@link MongoDbCasEventRepository} that stores event data into a mongodb database.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Repository("casEventRepository")
public class MongoDbCasEventRepository extends AbstractCasEventRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Test cases for {@link MongoDbCasEventRepository}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:/mongo-cloudtest-eventscontext.xml")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This is {@link AbstractCasEventRepository}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public abstract class AbstractCasEventRepository implements CasEventRepository {
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* This is {@link CasEvent}, which represents a single event stored in the events repository.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Entity
@Table(name = "CasEvent")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Defines DAO operations over an events repository.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public interface CasEventRepository {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* via {@link CasEventRepository}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("defaultCasEventListener")
public class DefaultCasEventListener {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* This is {@link AbstractCasEventRepositoryTests}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public abstract class AbstractCasEventRepositoryTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* service to determine how the logout url endpoint should be decided.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("defaultSingleLogoutServiceLogoutUrlBuilder")
public class DefaultSingleLogoutServiceLogoutUrlBuilder implements SingleLogoutServiceLogoutUrlBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* to logout endpoints processed by the logout manager.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("defaultSingleLogoutServiceMessageHandler")
public class DefaultSingleLogoutServiceMessageHandler implements SingleLogoutServiceMessageHandler {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @author Misagh Moayyed
* @author Dmitriy Kopylenko
* @since 4.3.0
* @since 5.0.0
*/
public final class RegisteredServiceAccessStrategySupport {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* This is {@link RegisteredServiceAuthenticationHandlerResolverTests}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public class RegisteredServiceAuthenticationHandlerResolverTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Exception thrown when a ST has already granted a PGT and is asked to do so again.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public class InvalidProxyGrantingTicketForServiceTicket extends AbstractTicketValidationException {
private static final long serialVersionUID = 2120177571513373134L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* and signing of tickets during replication.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("defaultTicketCipherExecutor")
public class DefaultTicketCipherExecutor extends BinaryCipherExecutor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* from CAS configuration and presents a cipher.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("webflowCipherExecutor")
public class WebflowCipherExecutor extends BinaryCipherExecutor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

/**
* @author Timur Duehr timur.duehr@nccgroup.trust
* @since 4.3.0
* @since 5.0.0
*/
public final class DateTimeUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Utility class to assist with regex operations.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public final class RegexUtils {
private static final Logger LOGGER = LoggerFactory.getLogger(RegexUtils.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Utility class to assist with resource operations.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public final class ResourceUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* and presents a cipher.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Component("tgcCipherExecutor")
public class TGCCipherExecutor extends BaseStringCipherExecutor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This is {@link HttpRequestGeoLocation}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
public final class HttpRequestGeoLocation {
private String latitude;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* This is {@link EhcacheTicketRegistryConfiguration}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("ehcacheTicketRegistryConfiguration")
public class EhcacheTicketRegistryConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* This is {@link IgniteTicketRegistryConfiguration}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("igniteConfiguration")
public class IgniteTicketRegistryConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* </ul>
*
* @author Timur Duehr timur.duehr@nccgroup.trust
* @since 4.3.0`
* @since 5.0.0`
*/
@Component("igniteTicketRegistry")
public final class IgniteTicketRegistry extends AbstractTicketRegistry {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* This is {@link MemcachedConfiguration}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("memcachedConfiguration")
public class MemcachedConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* @author Timur Duehr timur.duehr@nccgroup.trust
* @since 4.3.0
* @since 5.0.0
*/
public class ZonedDateTimeTranscoder extends Serializer<ZonedDateTime> {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* This is {@link MongoDbServiceRegistryConfiguration}.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@Configuration("mongoDbServiceRegistryConfiguration")
public class MongoDbServiceRegistryConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* running all cas mongo test cases.
*
* @author Misagh Moayyed
* @since 4.3.0
* @since 5.0.0
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({MongoServiceRegistryDaoCloudTests.class, MongoServiceRegistryDaoTests.class})
Expand Down
Loading

0 comments on commit c2af68f

Please sign in to comment.