Your log is ok there is no error the stop message is a warning!
Now try to debug your handler


El lunes, 5 de febrero de 2018, Ramakrishna G <[email protected]> escribió:

> Hi Man H,
>
> I am not able to see my logs in cas.log. I have a doubt whether it is
> registered or not.
>
>
> I can see compiled source of
>
> MyAuthenticationEventExecutionPlanConfiguration.class and
>
> MyAuthenticationHandler.class inside target/cas/WEB-INF/
> classes/packagename/
>
>
> When I run "sh ./build.sh run" I get to see this error on console
>
>
> 2018-02-05 18:54:13,521 INFO [org.apereo.cas.configuration.config.
> CasCoreBootstrapStandaloneConfiguration] - <Configuration files found at
> [/etc/cas/config] are [[/etc/cas/config/application.yml,
> /etc/cas/config/cas.properties]]>
>
> 2018-02-05 18:54:13,569 INFO [org.apereo.cas.configuration.config.
> CasCoreBootstrapStandaloneConfiguration] - <Found and loaded [14]
> setting(s) from [/etc/cas/config]>
>
> 2018-02-05 18:54:13,571 INFO [org.springframework.cloud.bootstrap.config.
> PropertySourceBootstrapConfiguration] - <Located property source:
> PropertiesPropertySource {name='standaloneCasConfigService'}>
>
> 2018-02-05 18:54:20,073 WARN 
> [org.apereo.cas.config.CasCoreTicketsConfiguration]
> - <Runtime memory is used as the persistence storage for retrieving and
> managing tickets. Tickets that are issued during runtime will be LOST upon
> container restarts. This MAY impact SSO functionality.>
>
> *2018-02-05 18:54:35,247 DEBUG
> [org.apereo.cas.config.CasCoreAuthenticationConfiguration] - <Configuring
> authentication execution plan
> [MyAuthenticationEventExecutionPlanConfiguration]>*
>
> 2018-02-05 18:54:35,304 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [FileAuthenticationEventExecutionPlanConfiguration]>
>
> 2018-02-05 18:54:35,321 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [RejectUsersAuthenticationEventExecutionPlanConfiguration]>
>
> 2018-02-05 18:54:35,322 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [ShiroAuthenticationEventExecutionPlanConfiguration]>
>
> 2018-02-05 18:54:35,322 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [CasCoreAuthenticationHandlersConfiguration]>
>
> 2018-02-05 18:54:35,328 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [CasCoreAuthenticationHandlersConfiguration]>
>
> 2018-02-05 18:54:35,357 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [CasCoreAuthenticationMetadataConfiguration]>
>
> 2018-02-05 18:54:35,400 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationConfiguration] - <Configuring authentication
> execution plan [AcceptUsersAuthenticationEventExecutionPlanConfiguration]>
>
> 2018-02-05 18:54:35,401 WARN [org.apereo.cas.config.
> support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
> - <>
>
> 2018-02-05 18:54:35,410 WARN [org.apereo.cas.config.
> support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
> - <
>
>
>   ____    _____    ___    ____    _
>
>  / ___|  |_   _|  / _ \  |  _ \  | |
>
>  \___ \    | |   | | | | | |_) | | |
>
>   ___) |   | |   | |_| | |  __/  |_|
>
>  |____/    |_|    \___/  |_|     (_)
>
>
>
>
> CAS is configured to accept a static list of credentials for
> authentication. While this is generally useful for demo purposes, it is
> STRONGLY recommended that you DISABLE this authentication method (by
> setting 'cas.authn.accept.users' to a blank value) and switch to a mode
> that is more suitable for production.>
>
> 2018-02-05 18:54:35,411 WARN [org.apereo.cas.config.
> support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
> - <>
>
> 2018-02-05 18:54:37,340 DEBUG 
> [org.apereo.cas.config.CasCoreTicketsConfiguration]
> - <Ticket-granting ticket expiration policy is based on hard/idle timeouts
> of [28800]/[7200] seconds>
>
> 2018-02-05 18:54:37,552 DEBUG [org.apereo.cas.config.CasCoreConfiguration]
> - <Configuring authentication request service selection strategy plan [
> CasCoreAuthenticationServiceSelectionStrategyConfiguration]>
>
> 2018-02-05 18:54:38,966 DEBUG [org.apereo.cas.config.
> CasCoreUtilSerializationConfiguration] - <Configuring component
> serialization plan [CasCoreUtilSerializationConfiguration]>
>
> 2018-02-05 18:54:38,966 DEBUG [org.apereo.cas.config.
> CasCoreUtilSerializationConfiguration] - <Configuring component
> serialization plan [CasCoreComponentSerializationConfiguration]>
>
> 2018-02-05 18:54:40,659 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Initializing CAS webflow configuration...>
>
> 2018-02-05 18:54:41,410 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [initialFlowSetupAction]>
>
> 2018-02-05 18:54:41,417 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [viewRedirectToUnauthorizedUrlView] on flow id
> [login], backed by view factory [org.springframework.webflow.
> engine.support.ActionExecutingViewFactory@b926efa]>
>
> 2018-02-05 18:54:41,419 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [viewServiceErrorView] on flow id [login],
> backed by view factory [org.springframework.webflow.mvc.servlet.
> ServletMvcViewFactory@3653bb61]>
>
> 2018-02-05 18:54:41,419 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [redirectView] on flow id [login], backed by
> view factory [org.springframework.webflow.engine.support.
> ActionExecutingViewFactory@65595be7]>
>
> 2018-02-05 18:54:41,420 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [postView] on flow id [login], backed by view
> factory [org.springframework.webflow.mvc.servlet.
> ServletMvcViewFactory@23972e02]>
>
> 2018-02-05 18:54:41,420 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [headerView] on flow id [login]>
>
> 2018-02-05 18:54:41,420 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [injectResponseHeadersAction]>
>
> 2018-02-05 18:54:41,421 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created end state state [viewGenericLoginSuccess] on flow id [login],
> backed by view factory [org.springframework.webflow.mvc.servlet.
> ServletMvcViewFactory@3bea7134]>
>
> 2018-02-05 18:54:41,421 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [genericSuccessViewAction]>
>
> 2018-02-05 18:54:41,421 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [showWarningView]>
>
> 2018-02-05 18:54:41,422 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [success] to the state [showWarningView]>
>
> 2018-02-05 18:54:41,422 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [serviceWarningAction]>
>
> 2018-02-05 18:54:41,422 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [finalizeWarning]>
>
> 2018-02-05 18:54:41,423 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [finalizeWarning] list of actions:
> [list[[EvaluateAction@10c95d9b expression = serviceWarningAction,
> resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,429 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [redirect] to the state [finalizeWarning]>
>
> 2018-02-05 18:54:41,436 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [sendTicketGrantingTicketAction
> ]>
>
> 2018-02-05 18:54:41,436 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [sendTicketGrantingTicket]>
>
> 2018-02-05 18:54:41,436 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [sendTicketGrantingTicket] list of
> actions: [list[[EvaluateAction@3f60ba06 expression =
> sendTicketGrantingTicketAction, resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,437 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [success] to the state [sendTicketGrantingTicket]>
>
> 2018-02-05 18:54:41,437 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [generateServiceTicketAction]>
>
> 2018-02-05 18:54:41,437 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [generateServiceTicket]>
>
> 2018-02-05 18:54:41,437 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [generateServiceTicket] list of
> actions: [list[[EvaluateAction@251d64d6 expression =
> generateServiceTicketAction, resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,437 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [success] to the state [generateServiceTicket]>
>
> 2018-02-05 18:54:41,438 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [warn] to the state [generateServiceTicket]>
>
> 2018-02-05 18:54:41,438 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [authenticationFailure] to the state
> [generateServiceTicket]>
>
> 2018-02-05 18:54:41,438 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [error] to the state [generateServiceTicket]>
>
> 2018-02-05 18:54:41,438 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [gateway] to the state [generateServiceTicket]>
>
> 2018-02-05 18:54:41,439 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [terminateSessionAction]>
>
> 2018-02-05 18:54:41,439 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [terminateSession]>
>
> 2018-02-05 18:54:41,439 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [terminateSession] list of actions:
> [list[[EvaluateAction@4d96c290 expression = terminateSessionAction,
> resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,439 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [gatewayServicesManagementCheck
> ]>
>
> 2018-02-05 18:54:41,440 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [gatewayServicesManagementCheck]>
>
> 2018-02-05 18:54:41,440 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [gatewayServicesManagementCheck] list
> of actions: [list[[EvaluateAction@17e96b3c expression =
> gatewayServicesManagementCheck, resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,440 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [success] to the state [gatewayServicesManagementCheck
> ]>
>
> 2018-02-05 18:54:41,440 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [serviceAuthorizationCheck]>
>
> 2018-02-05 18:54:41,441 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [serviceAuthorizationCheck]>
>
> 2018-02-05 18:54:41,441 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [serviceAuthorizationCheck] list of
> actions: [list[[EvaluateAction@2d63534d expression =
> serviceAuthorizationCheck, resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,441 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [redirectToServiceAction]>
>
> 2018-02-05 18:54:41,441 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [redirect]>
>
> 2018-02-05 18:54:41,441 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [redirect] list of actions:
> [list[[EvaluateAction@6316b9e3 expression = redirectToServiceAction,
> resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,442 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [post] to the state [redirect]>
>
> 2018-02-05 18:54:41,443 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [header] to the state [redirect]>
>
> 2018-02-05 18:54:41,443 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [redirect] to the state [redirect]>
>
> 2018-02-05 18:54:41,443 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [authenticationExceptionHandler
> ]>
>
> 2018-02-05 18:54:41,444 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,444 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [handleAuthenticationFailure] list of
> actions: [list[[EvaluateAction@186f7553 expression =
> authenticationExceptionHandler, resultExpression = [null]]]]>
>
> 2018-02-05 18:54:41,445 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [AccountDisabledException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,445 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [AccountLockedException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,446 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [AccountPasswordMustChangeException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,446 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [CredentialExpiredException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,447 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [InvalidLoginLocationException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,447 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [InvalidLoginTimeException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,448 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [FailedLoginException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,448 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [AccountNotFoundException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,448 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [UnauthorizedServiceForPrincipalException] to the
> state [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,448 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [PrincipalException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,448 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [UnsatisfiedAuthenticationPolicyException] to the
> state [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,449 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [UnauthorizedAuthenticationException] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,449 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [serviceUnauthorizedCheck] to the state
> [handleAuthenticationFailure]>
>
> 2018-02-05 18:54:41,450 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [showAuthenticationWarningMessages]>
>
> 2018-02-05 18:54:41,452 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added transition [proceed] to the state [showAuthenticationWarningMessa
> ges]>
>
> 2018-02-05 18:54:41,452 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created action state [proceedFromAuthenticationWarningView]>
>
> 2018-02-05 18:54:41,452 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added action to the action state [proceedFromAuthenticationWarningView]
> list of actions: [list[[empty]]]>
>
> 2018-02-05 18:54:41,452 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Created evaluate action for expression [sendTicketGrantingTicketAction
> ]>
>
> 2018-02-05 18:54:41,587 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Initializing CAS webflow configuration...>
>
> 2018-02-05 18:54:45,974 DEBUG [org.apereo.cas.config.
> CasConfigurationSupportUtilitiesConfiguration] - <Starting to watch
> configuration directory [/etc/cas/config]>
>
> 2018-02-05 18:54:47,033 DEBUG 
> [org.apereo.cas.config.CasCoreTicketsConfiguration]
> - <Configuring ticket metadata registration plan [
> CasCoreTicketCatalogConfiguration]>
>
> 2018-02-05 18:54:47,034 DEBUG [org.apereo.cas.config.
> CasCoreTicketCatalogConfiguration] - <Registering core CAS protocol
> ticket definitions...>
>
> 2018-02-05 18:54:47,116 DEBUG [org.apereo.cas.config.
> CasCoreTicketsSchedulingConfiguration] - <Ticket registry cleaner is
> enabled.>
>
> 2018-02-05 18:54:47,340 DEBUG [org.apereo.cas.config.
> CasPersonDirectoryConfiguration] - <Configured merging strategy for
> attribute sources is [REPLACE]>
>
> 2018-02-05 18:54:47,367 DEBUG [org.apereo.cas.config.
> CasPersonDirectoryConfiguration] - <Final list of attribute repositories
> is [[]]>
>
> 2018-02-05 18:54:47,369 DEBUG [org.apereo.cas.config.
> CasPersonDirectoryConfiguration] - <No attribute repository sources are
> available/defined to merge together.>
>
> 2018-02-05 18:54:47,450 DEBUG [org.apereo.cas.config.
> CasPersonDirectoryConfiguration] - <Configured cache expiration policy
> for merging attribute sources to be [30] minute(s)>
>
> 2018-02-05 18:54:55,959 DEBUG [org.apereo.cas.config.
> CasCoreAuthenticationPrincipalConfiguration] - <Attribute repository
> sources are not available for principal resolution so principal resolver
> will echo back the principal resolved during authentication directly.>
>
> 2018-02-05 18:54:56,333 WARN 
> [org.apereo.cas.config.CasCoreServicesConfiguration]
> - <Runtime memory is used as the persistence storage for retrieving and
> persisting service definitions. Changes that are made to service
> definitions during runtime WILL be LOST upon container restarts. Ideally
> for production, you need to choose a storage option (JDBC, etc) to store
> and track service definitions.>
>
> 2018-02-05 18:54:56,467 DEBUG 
> [org.apereo.cas.config.CasCoreTicketsConfiguration]
> - <Protocol tickets generated by CAS are not signed/encrypted.>
>
> 2018-02-05 18:54:56,997 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Initializing CAS webflow configuration...>
>
> 2018-02-05 18:54:56,998 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casAuthenticationBlockedView]>
>
> 2018-02-05 18:54:56,998 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casBadWorkstationView]>
>
> 2018-02-05 18:54:56,998 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casBadHoursView]>
>
> 2018-02-05 18:54:56,999 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casAccountLockedView]>
>
> 2018-02-05 18:54:56,999 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casAccountDisabledView]>
>
> 2018-02-05 18:54:56,999 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casPasswordUpdateSuccess]>
>
> 2018-02-05 18:54:57,000 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casExpiredPassView]>
>
> 2018-02-05 18:54:57,000 DEBUG 
> [org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer]
> - <Added view state [casMustChangePassView]>
>
> 2018-02-05 18:54:57,027 WARN 
> [org.apereo.cas.util.cipher.BaseStringCipherExecutor]
> - <Secret key for encryption is not defined for [Ticket-granting Cookie];
> CAS will attempt to auto-generate the encryption key>
>
> 2018-02-05 18:54:57,043 WARN 
> [org.apereo.cas.util.cipher.BaseStringCipherExecutor]
> - <Generated encryption key [kxqd_YRChhAKZbG0nj9R53A-YTWiDqarFZ9tGObH1Yo]
> of size [256] for [Ticket-granting Cookie]. The generated key MUST be added
> to CAS settings under setting [cas.tgc.crypto.encryption.key].>
>
> 2018-02-05 18:54:57,048 WARN 
> [org.apereo.cas.util.cipher.BaseStringCipherExecutor]
> - <Secret key for signing is not defined for [Ticket-granting Cookie]. CAS
> will attempt to auto-generate the signing key>
>
> 2018-02-05 18:54:57,048 WARN 
> [org.apereo.cas.util.cipher.BaseStringCipherExecutor]
> - <Generated signing key [3IMzXnr0VRjKY6I0kespveQFG5mr0BE_
> 79MQZa5TyWT8nMo7GRoVA1VXQQacU5kF-zG0Eutxw3lXA3CCWD_-Mg] of size [512] for
> [Ticket-granting Cookie]. The generated key MUST be added to CAS settings
> under setting [cas.tgc.crypto.signing.key].>
>
> 2018-02-05 18:54:57,795 WARN 
> [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor]
> - <Secret key for signing is not defined under 
> [cas.webflow.crypto.signing.key].
> CAS will attempt to auto-generate the signing key>
>
> 2018-02-05 18:54:57,795 WARN 
> [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor]
> - <Generated signing key [Jkl85rHqj3AU9J8kXweIqJjTXWnW4_
> MzJkscmAiPmoqrfDB9J_7wnF3XGaWtMRraaA9rMnwgnbYnkSMIu-jLSA] of size [512].
> The generated key MUST be added to CAS settings under setting
> [cas.webflow.crypto.signing.key].>
>
> 2018-02-05 18:54:57,795 WARN 
> [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor]
> - <Secret key for encryption is not defined under 
> [cas.webflow.crypto.encryption.key].
> CAS will attempt to auto-generate the encryption key>
>
> 2018-02-05 18:54:57,804 WARN 
> [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor]
> - <Generated encryption key [CRHaIv-9-l21-JWFC_DoMw] of size [16]. The
> generated key MUST be added to CAS settings under setting
> [cas.webflow.crypto.encryption.key].>
>
>
>
> *Also what does this mean "Check bean annotation on handler". Can you pls
> explain what I have to do?*
>
> On Mon, Feb 5, 2018 at 6:19 PM, Man H <[email protected]> wrote:
>
> Enable debug logging, in startup log see if handler gets registered
> Check bean annotation on handler
>
>
> El lunes, 5 de febrero de 2018, Ramakrishna G <[email protected]> escribió:
>
> When I try to login user is not authenticated.
>
> It displays the below error.
>
> 2018-02-05 11:23:31,822 WARN [org.apereo.cas.authentication.policy.
> RequiredHandlerAuthenticationPolicy] - <Required authentication handler
> [MyAuthenticationHandler] is not present in the list of recorded successful
> authentications>
>
> 2018-02-05 11:23:31,825 WARN [org.apereo.cas.authentication.policy.
> RequiredHandlerAuthenticationPolicy] - <Required authentication handler
> [MyAuthenticationHandler] is not present in the list of recorded successful
> authentications>
>
> 2018-02-05 11:23:31,826 ERROR [org.apereo.cas.authentication.
> PolicyBasedAuthenticationManager] - <Authentication has failed.
> Credentials may be incorrect or CAS cannot find authentication handler that
> supports [casuser] of type [UsernamePasswordCredential].>
>
> 2018-02-05 11:23:31,827 WARN [org.apereo.cas.authentication.policy.
> RequiredHandlerAuthenticationPolicy] - <Required authentication handler
> [MyAuthenticationHandler] is not present in the list of recorded successful
> authentications>
>
> 2018-02-05 11:23:31,829 ERROR [org.apereo.cas.authentication.
> PolicyBasedAuthenticationManager] - <[AuthenticationException]: [Unable
> to satisfy authentication policy RequiredHandlerAuthenticationPolicy]>
>
>
> On Mon, Feb 5, 2018 at 11:33 AM, Ramakrishna G <[email protected]> wrote:
>
> Hello Man H
>
> attach /etc/cas/config/cas.properties of server where you run cas - *It
> is already attached*
>
> How do I do this?
>
> - make sure your war has META-INF spring.factories ->
> org.springframework.boot.autoconfigure.EnableAutoConfigurati
> on=my.apps.cas.MyAuthenticationEventExecution -* When I run "sh build.sh
> run",  **It is automatically copied in
> target/cas/WEB-INF/classes/META-INF/spring.factories and not in
> target/war/..*
>
> *Also the source compiled is copied
> in target/cas/WEB-INF/classes/packagename/*
> *MyAuthenticationEventExecutionPlanConfiguration.class*
>
>
>
> On Sun, Feb 4, 2018 at 9:40 PM, Man H <[email protected]> wrote:
>
> - attach /etc/cas/config/cas.properties of server where you run cas
> - make sure your war has META-INF spring.factories ->
> org.springframework.boot.autoconfigure.EnableAutoConfiguration=my.
> apps.cas.MyAuthenticationEventExecution
>
>
> 2018-02-03 14:50 GMT-03:00 Ramakrishna G <[email protected]>:
>
> Thank you Man H. Build Succeed. But now when I run "./build sh run" I am
> getting the following error.
>
> 2018-02-03 23:13:02,913 INFO [org.apereo.cas.configuration.config.
> CasCoreBootstrapStandaloneConfiguration] - <Found and loaded [5]
> setting(s) from [/etc/cas/config]>
>
> 2018-02-03 23:13:02,915 INFO [org.springframework.cloud.bootstrap.config.
> PropertySourceBootstrapConfiguration] - <Located property source:
> PropertiesPropertySource {name='standaloneCasConfigService'}>
>
> 2018-02-03 23:13:03,747 WARN [org.apereo.cas.web.CasWebApplicationContext]
> - <Exception encountered during context initialization - cancelling refresh
> attempt: org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to process import candidates for configuration class
> [org.apereo.cas.web.CasWebApplication]; nested exception is 
> java.lang.IllegalStateException:
> Unable to read meta-data for class >
>
> 2018-02-03 23:13:03,747 ERROR 
> [org.springframework.beans.factory.support.DefaultListableBeanFactory]
> - <Destroy method on bean with name 'org.springframework.boot.
> autoconfigure.internalCachingMetadataReaderFactory' threw an exception>
>
> java.lang.IllegalStateException: ApplicationEventMulticaster not
> initialized - call 'refresh' before multicasting events via the context:
> CasWebApplicationContext
>
> at org.springframework.context.support.AbstractApplicationContext.
> getApplicationEventMulticaster(AbstractApplicationContext.java:414)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.support.ApplicationListenerDetector.
> postProcessBeforeDestruction(ApplicationListenerDetector.java:97)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.
> DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> destroyBean(DefaultSingletonBeanRegistry.java:578)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> destroySingleton(DefaultSingletonBeanRegistry.java:554)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.
> destroySingleton(DefaultListableBeanFactory.java:961)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> destroySingletons(DefaultSingletonBeanRegistry.java:523)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
> destroySingletons(FactoryBeanRegistrySupport.java:230)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.
> destroySingletons(DefaultListableBeanFactory.java:968)
> ~[spring-beans-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.support.AbstractApplicationContext.
> destroyBeans(AbstractApplicationContext.java:1030)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:556) ~[spring-context-4.3.12.
> RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
> ~[spring-boot-1.5.8.RELEASE.jar!/:1.5.8.RELEASE]
>
> at 
> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
> ~[spring-boot-1.5.8.RELEASE.jar!/:1.5.8.RELEASE]
>
> at 
> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
> ~[spring-boot-1.5.8.RELEASE.jar!/:1.5.8.RELEASE]
>
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
> ~[spring-boot-1.5.8.RELEASE.jar!/:1.5.8.RELEASE]
>
> at org.springframework.boot.builder.SpringApplicationBuilder.ru
> n(SpringApplicationBuilder.java:134) ~[spring-boot-1.5.8.RELEASE.
> jar!/:1.5.8.RELEASE]
>
> at org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:73)
> ~[cas-server-webapp-init-5.2.1.jar!/:5.2.1]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_101]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
>
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
>
> at 
> org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
> ~[cas.war:?]
>
> at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
> ~[cas.war:?]
>
> at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
> ~[cas.war:?]
>
> at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)
> ~[cas.war:?]
>
> 2018-02-03 23:13:03,772 ERROR [org.springframework.boot.SpringApplication]
> - <Application startup failed>
>
> org.springframework.beans.factory.BeanDefinitionStoreException: Failed to
> process import candidates for configuration class 
> [org.apereo.cas.web.CasWebApplication];
> nested exception is java.lang.IllegalStateException: Unable to read
> meta-data for class
>
> at org.springframework.context.annotation.ConfigurationClassParser.
> processDeferredImportSelectors(ConfigurationClassParser.java:556)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.annotation.ConfigurationClassParser.parse(
> ConfigurationClassParser.java:185) ~[spring-context-4.3.12.
> RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.annotation.ConfigurationClassPostProcessor.
> processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.annotation.ConfigurationClassPostProcessor.
> postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228)
> ~[spring-context-4.3.12.RELEASE.jar!/:4.3.12.RELEASE]
>
> at org.springframework.context.support.PostProcessorRegistrationDelegate.
> invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272)
> ~[spring-context-4.3.12.RE
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5micvgJ72FwtusNHtcnWZkHrqKzgGPqYs-rg%2BBpovO4O%3DQg%40mail.gmail.com.

Reply via email to