[cas-user] @Column ignored in CAS 5.3.3 management app

2018-10-15 Thread Yan Zhou
Hi, 

I have application.properties read like this:

spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

Still, @Column  are ignored in CAS 5.3.3 management, I see that in tables 
used by SAML dependencies.

2018-10-15 15:45:35,466 DEBUG [org.hibernate.SQL] - 

2018-10-15 15:45:35,473 DEBUG [org.hibernate.SQL] - <



create table RegexRegisteredService (

   expression_type VARCHAR(50) DEFAULT 'regex' not null,

metadataCriteriaDirection varchar2(255 char),

metadataCriteriaPattern varchar2(255 char),

metadataCriteriaRemoveEmptyEntitiesDescriptors number(1,0),

metadataCriteriaRemoveRolelessEntityDescriptors number(1,0),

skipGeneratingSubjectConfirmationInResponseTo number(1,0),

skipGeneratingSubjectConfirmationNotBefore number(1,0),

skipGeneratingSubjectConfirmationNotOnOrAfter number(1,0),

skipGeneratingSubjectConfirmationRecipient number(1,0),

primary key (id)

)>




These columns do not fit in Oracle 11g, note that @Column in code is 
ignored.


What am I missing?  Thanks!

Yan


@Column(name = "skipGenAssertionNameId")

private boolean skipGeneratingAssertionNameId;

 

@Column(name = "skipGenSubConfInRespTo")

private boolean skipGeneratingSubjectConfirmationInResponseTo;

 

@Column(name = "skipGenSubConNotOnOrAfter")

private boolean skipGeneratingSubjectConfirmationNotOnOrAfter;

 

@Column(name = "skipGenSubConRecipient")

private boolean skipGeneratingSubjectConfirmationRecipient;

 

@Column(name = "skipGenSubConfNotBefore")

private boolean skipGeneratingSubjectConfirmationNotBefore = true;

 

@Column

private String metadataCriteriaRoles = 
SPSSODescriptor.DEFAULT_ELEMENT_LOCAL_NAME;

 

@Column(name = "mdCriteriaRmEmptyEntities")

private boolean metadataCriteriaRemoveEmptyEntitiesDescriptors = true;

 

@Column(name = "mdCriteriaRmRolelessEntities")

private boolean metadataCriteriaRemoveRolelessEntityDescriptors = true;

-- 
- 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/13fe53c8-da99-40c4-a072-a0518e2f8ed4%40apereo.org.


[cas-user] java CAS-client spring config can't get ProxyTicket

2018-10-15 Thread julien . gribonvald
Hi, 

After moving cas-client initialization from web.xml to spring beans we 
can't get anymore the proxy-ticket from the assertion. Did someone 
encounter the problem ? I don't see any bug repport about this problem. It 
would be to fix this problem : https://github.com/Jasig/uPortal/issues/1374 

On an other side, to be able to externalize the configuration did you test 
an other init method ?  from properties file (this one doesn't seem 
documented and tested) ? 

Thanks, 
Julien

-- 
- 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/03bacef7-e1a7-421f-9094-b583bda448e8%40apereo.org.


RE: [cas-user] JDBC User Attributes Table Relation

2018-10-15 Thread Jon Anderson
I do something like this in my old cas installation (3.5), where I get an 
attribute from ldap and use that to query a database for another attribute.

As far as I can see, this feature was not included in the property based 
configuration system.
(And the documentation for configuring the beans manually seems very sparse for 
any non-java programmers.)

Jon

From: cas-user@apereo.org [cas-user@apereo.org] on behalf of Tepe, Dirk 
[tep...@miamioh.edu]
Sent: Sunday, October 14, 2018 8:50 AM
To: cas-user@apereo.org
Subject: Re: [cas-user] JDBC User Attributes Table Relation

CAS only knows the authenticated username. If you are only concerned with 
attribute resolution after authentication, isn't that just a matter of adding a 
join to your attribute query?

-dirk

On Sat, Oct 13, 2018 at 12:44 AM Fahmi L. Ramdhani 
mailto:fahmilestianramdh...@gmail.com>> wrote:
Hi,

I use JDBC as database authentication. I want to retrieve user attributes based 
on ID (int, not uid login ex: u...@example.com), after 
logging in with u...@example.com, I hope CAS takes the 
user id (int).

With the following relationships:

users (table)
 - id (PK, int)
 - email
 - password


idemailpassword
==
1 o...@example.com  **
2 t...@example.com  **


user_attributes (table)
 - id (PK, int)
 - user_id (FK, int)
 - attr_name
 - attr_value

iduser_idattr_nameattr_value
==
1 1  first_name   One
2 1  last_nameExample
3 2  first_name   One
4 2  last_nameExample

How to solve this? Thank you.

--
- 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/0f66f6e7-fa85-4105-a4ca-db83d907f49d%40apereo.org.

--
- 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/CAJ%3D0EZz-UzEYgjmZXMaYcp-31uQizcx8m6j-6k_nDy3MuFrKUg%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/0A9BC9099B13904AA1708A7F1B6C8404E6C0F111%40Ntsrv75.int.oru.edu.


[cas-user] deploy CAS 5.3.4 overlay on wildfly 10

2018-10-15 Thread Giuseppe Infurna
Hi, 
i've need to deploy cas ear on wildfly 10, so someone can explain how to do:
- put war in ear
- deploy it on wildfly


Regards
G

-- 
- 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/ba053f47-3924-4e6e-850c-0e302a02af55%40apereo.org.