Re: [cas-user] Admin login help (cas/admin)

2020-10-16 Thread Ray Bon
Tibin,

Tell us why you are trying to add a custom admin page, there may be other 
alternatives.

See, https://apereo.github.io/cas/6.1.x/ux/User-Interface-Customization.html 
and Themes at the bottom.

Ray

On Fri, 2020-10-16 at 01:55 -0700, Tibin Abraham wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi team,

I am new to CAS.
We are using cas 6.0.X.
I am trying to add a custom admin login page.

Html display worked fine. I just added a casAdminLoginView.html in 
resource/templates.

Now I am facing issue in model binding.
Tried giving th:object="{credential} in form, as i was under the assumption 
UserPasswordCredential.java was auto mapped to login page.
I tried adding a json in service folder with
"requiredhandlers" - Querydatabaseauthenticationhandler.
which accepts UsernamePasswordCredential.java as input

This is still throwing error.

java.lang.IllegalStateException: Neither BindingResult nor plain target object 
for bean name 'credential' available as request attribute


Please let me know what all additional things I have to do.

Thanks in advance
Tibin

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/14887f62790f64e5992e437f3075ae9d6eea7c96.camel%40uvic.ca.


[cas-user] Admin login help (cas/admin)

2020-10-16 Thread Tibin Abraham
Hi team,

I am new to CAS.
We are using cas 6.0.X.
I am trying to add a custom admin login page.

Html display worked fine. I just added a casAdminLoginView.html in 
resource/templates.

Now I am facing issue in model binding.
Tried giving th:object="{credential} in form, as i was under the assumption 
UserPasswordCredential.java was auto mapped to login page.
I tried adding a json in service folder with 
"requiredhandlers" - Querydatabaseauthenticationhandler.
which accepts UsernamePasswordCredential.java as input

This is still throwing error.
 
java.lang.IllegalStateException: Neither BindingResult nor plain target 
object for bean name 'credential' available as request attribute  


Please let me know what all additional things I have to do.

Thanks in advance
Tibin

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/56a41785-7821-4caa-8daa-f97889c44658n%40apereo.org.


[cas-user] Deploying 6.2.1 to Wildfly20 errors

2020-10-16 Thread Pablo Vidaurri
set gradle.properties:
appServer=
executable=false
tomcatVersion=

build.gradle has
implementation "org.apereo.cas:cas-server-webapp:${project.'cas.version'}"  

included jboss-deployment-sturcture.xml file in src/main/webapp/WEB-INF with

  
 
  
  
   


gradlew clean build, then deploy war file to wildfly. Get all sorts of 
errors:

Sorry for the long log file attached.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ed171e5d-6716-462c-9a61-181ce05503c9n%40apereo.org.
1:54:27,067 INFO  
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
(ServerService Thread Pool -- 45) Configuration files found at 
[\etc\cas\config] are [[file [D:\etc\cas\config\application.yml], file 
[D:\etc\cas\config\cas.properties]]] under profile(s) [[standalone]]
01:54:27,102 INFO  
[org.apereo.cas.configuration.loader.YamlConfigurationPropertiesLoader] 
(ServerService Thread Pool -- 45) Found settings [[info.description]] in YAML 
file [file [D:\etc\cas\config\application.yml]]
01:54:27,132 INFO  
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 (ServerService Thread Pool -- 45) Located property source: 
[BootstrapPropertySource 
{name='bootstrapProperties-applicationProfilesCompositeProperties'}, 
BootstrapPropertySource 
{name='bootstrapProperties-embeddedYamlOverriddenProperties'}]
01:54:27,325 INFO  [org.apereo.cas.web.CasWebApplicationServletInitializer] 
(ServerService Thread Pool -- 45) The following profiles are active: standalone
01:54:31,182 INFO  [org.springframework.cloud.context.scope.GenericScope] 
(ServerService Thread Pool -- 45) BeanFactory 
id=0b8d3260-169f-34df-b190-db3e73c71129
01:54:37,237 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 
'cas-org.apereo.cas.configuration.CasConfigurationProperties' of type 
[org.apereo.cas.configuration.CasConfigurationProperties] is not eligible for 
getting processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
01:54:37,456 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 'casCoreTicketsConfiguration' of type 
[org.apereo.cas.config.CasCoreTicketsConfiguration$$EnhancerBySpringCGLIB$$4043a37]
 is not eligible for getting processed by all BeanPostProcessors (for example: 
not eligible for auto-proxying)
01:54:37,519 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 'jpaTicketRegistryConfiguration' of 
type 
[org.apereo.cas.config.JpaTicketRegistryConfiguration$$EnhancerBySpringCGLIB$$fcda5610]
 is not eligible for getting processed by all BeanPostProcessors (for example: 
not eligible for auto-proxying)
01:54:37,626 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 'casHibernateJpaConfiguration' of type 
[org.apereo.cas.config.CasHibernateJpaConfiguration] is not eligible for 
getting processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
01:54:37,655 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 'scopedTarget.jpaBeanFactory' of type 
[org.apereo.cas.hibernate.CasHibernateJpaBeanFactory] is not eligible for 
getting processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
01:54:38,222 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 'ticketPackagesToScan' of type 
[java.util.ArrayList] is not eligible for getting processed by all 
BeanPostProcessors (for example: not eligible for auto-proxying)
01:54:38,420 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService 
Thread Pool -- 45) HHH000204: Processing PersistenceUnitInfo [name: 
jpaTicketRegistryContext]
01:54:38,507 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 45) 
HHH000412: Hibernate ORM core version 5.4.16.Final
01:54:38,702 INFO  [org.hibernate.annotations.common.Version] (ServerService 
Thread Pool -- 45) HCANN01: Hibernate Commons Annotations {5.1.0.Final}
01:54:38,999 INFO  
[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
 (ServerService Thread Pool -- 45) Bean 

[cas-user] Re: [cas-dev] Release Announcement: CAS Security Patches

2020-10-16 Thread Jérôme LELEU
Hi,

Yes, exactly, this only affects the Google Authenticator MFA support.
Thanks.
Best regards,
Jérôme


Le jeu. 15 oct. 2020 à 22:13, Mike Osterman  a écrit :

> Thanks, Jérôme!
>
> Based on the opening statement of "affects the handling of secret keys
> with Google Authenticator for multifactor authentication" is it safe to
> assume that this only affects CAS implementations that use Google
> Authenticator for MFA (as opposed to Duo or another MFA implementation)?
>
> Thank you,
> Mike
>
> On Thu, Oct 15, 2020 at 2:32 AM Jérôme LELEU  wrote:
>
>> Hi,
>>
>> Please see: https://apereo.github.io/2020/10/14/gauthvuln/
>> Thanks.
>> Best regards,
>> Jérôme
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Developer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-dev+unsubscr...@apereo.org.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-dev/CAP279Lw1zqtJP90kD-6ibeFCf4qJMZvLSjsWOBicp11cA9EchQ%40mail.gmail.com
>> 
>> .
>>
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279Lw1xZCcMBRDm2_dmb2JVTxKF7eTr_wWj0cQo0UEE1%2BimQ%40mail.gmail.com.