You can maven override it.  Find loginform.html in the CAS source.

Copy it (and as much of the associated parts as needed) into your maven
override project.

loginform.html will end up
under src/main/resources/templates/fragments/loginform.html

On 22 March 2018 at 07:43, ChangWon Son <thsw...@gmail.com> wrote:

> Hi.
>
> build cas server using cas-overlay-template project
> I can't find any document about custom login page setting.
>
> https://apereo.github.io/cas/5.2.x/installation/Configuratio
> n-Properties.html#views
> or
> https://apereo.github.io/cas/5.2.x/installation/User-Interfa
> ce-Customization.html
>
> display only default cas login theme
>
>
> https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/k-yfoou7Zy0
> same setting above article
>
> custom casLoginView.html created and put in 
> cas-gradle-overlay-template/src/main/resources/templates
> directory
>
> cas.properties
>
> cas.theme.paramName=theme
> cas.theme.defaultThemeName=xxxx
>
> and..
>
> cas-gradle-overlay-template/src/main/resources/service/xxxx-10000001.json
> {
>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>   "serviceId" : "^https://.*";,
>   "name" : "xxxx",
>   "theme": "xxxx",
>   "id" : 10000001,
>   "evaluationOrder" : 10,
>   "attributeReleasePolicy" : {
>     "@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
>   }
> }
>
>
>
> but only display default theme login page..
>
> how can I setting custom login page?
>
> --
> - 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/fa93aa61-cb1c-467e-80a7-
> f1639ef5459f%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/fa93aa61-cb1c-467e-80a7-f1639ef5459f%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
This email is sent on behalf of Northgate Public Services (UK) Limited and 
its associated companies including Rave Technologies (India) Pvt Limited 
(together "Northgate Public Services") and is strictly confidential and 
intended solely for the addressee(s). 
If you are not the intended recipient of this email you must: (i) not 
disclose, copy or distribute its contents to any other person nor use its 
contents in any way or you may be acting unlawfully;  (ii) contact 
Northgate Public Services immediately on +44(0)1442 768445 quoting the name 
of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that 
no viruses are contained in this email, but does not accept any 
responsibility once this email has been transmitted.  You should scan 
attachments (if any) for viruses.

Northgate Public Services (UK) Limited, registered in England and Wales 
under number 00968498 with a registered address of Peoplebuilding 2, 
Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 
4NW.  Rave Technologies (India) Pvt Limited, registered in India under 
number 117068 with a registered address of 2nd Floor, Ballard House, Adi 
Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.

-- 
- 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/CAD0p8pvAgF7NQdAzC9oEW2TgxUaEb-Z18qfVdu_WGkXK8DD0YQ%40mail.gmail.com.

Reply via email to