[cas-user] Problem with authentication of remote application to CAS server

2018-04-19 Thread carlos maddaleno cuellar
Hi i have a cas server on a nginx reverse proxy and my application with the
shiro.ini file are configureted to authenticated to this CAS server so this
application are ok

the problem now is with a remote application that is not in the same server
of the and its web.xml has this configuration:


  
CAS Authentication Filter

org.jasig.cas.client.authentication.AuthenticationFilter

  casServerLoginUrl
  https://siampapps.mp/cas/login


  serverName
  https://selectronicas.mp:8443

  

Im not sure whether to use the filter

org.jasig.cas.client.validation.Cas10TicketValidationFilte
 OR


CAS Validation Filter

org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter


could you tell me whats the difference


  
CAS Validation Filter

org.jasig.cas.client.validation.Cas10TicketValidationFilter

  casServerUrlPrefix
  https://siampapps.mp/cas


  serverName
  https://selectronicas.mp:8443


  redirectAfterValidation
  true

  

  
CAS HttpServletRequest Wrapper Filter

org.jasig.cas.client.util.HttpServletRequestWrapperFilter
  

  
CAS Authentication Filter
/*
  

  
CAS Validation Filter
/*
  

  
CAS HttpServletRequest Wrapper Filter
/*
  
  


and my nginx cas configuration is this:

location /cas {
proxy_pass http://siampv5.mp;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-Proto https;
}


but when a user try to authenticate to my cas it show the next error on the
log of the server:

thanks for your help

[2018-04-19T14:58:29.452-0600] [Payara 4.1] [WARNING] []
[javax.enterprise.web] [tid: _ThreadID=35 _ThreadName=http-thread-pool(6)]
[timeMillis: 1524171509452] [levelValue: 900] [[
  StandardWrapperValve[cas]: Servlet.service() for servlet cas threw
exception
java.util.ConcurrentModificationException
at
java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at
java.util.AbstractCollection.toString(AbstractCollection.java:461)
at
org.jasig.inspektr.aspect.TraceLogAspect.traceMethod(TraceLogAspect.java:48)
at
org.jasig.cas.ticket.TicketGrantingTicketImpl.getSupplementalAuthentications(TicketGrantingTicketImpl.java:247)
at
org.jasig.cas.CentralAuthenticationServiceImpl.evaluatePossibilityOfMixedPrincipals(CentralAuthenticationServiceImpl.java:209)
at
org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket_aroundBody2(CentralAuthenticationServiceImpl.java:145)
at
org.jasig.cas.CentralAuthenticationServiceImpl$AjcClosure3.run(CentralAuthenticationServiceImpl.java:1)
at
org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at
org.jasig.inspektr.aspect.TraceLogAspect.traceMethod(TraceLogAspect.java:44)
at
org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:136)
at sun.reflect.GeneratedMethodAccessor24429.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
at
org.jasig.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:128)
at sun.reflect.GeneratedMethodAccessor24425.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at

Re: [cas-user] CAS logout in all applications log in

2017-12-19 Thread carlos maddaleno cuellar
Thanks i just added it to my log4j file. i will see the log

2017-12-19 11:30 GMT-06:00 Ray Bon <r...@uvic.ca>:

> Carlos,
>
> Your applications (app-b and app-c) need to process the logout request.
> To see what CAS does during logout, and what URLs it calls for your apps,
> put these in your CAS log4j2.xml
>
> 
> 
> 
>  level="debug">
> 
>  onMismatch="NEUTRAL" />
>  onMismatch="DENY" />
> 
> 
>     
>     
> 
> 
>
> Ray
>
> On Tue, 2017-12-19 at 09:54 -0600, carlos maddaleno cuellar wrote:
>
> Hi i have a question to make you gays,
>
> I'm a new in CAS so i have a question to make, i authenticate my
> applications with the CAS server but when i log out from one aplication i
> still be log in the another application for example.
>
> I have an application cal app-b and another call app-c, so when i clic on
> the logout button from the app-c it log out succesfully and when i try to
> get into the app-c again it shows me the login window but if i turn to the
> app-b it stiil have a validate session so i have to log out from it, so i
> wanted to know how to log out from the two application at the same time, im
> using the next method to log out
>
> public void logout() {
> Factory factory = new
> IniSecurityManagerFactory("classpath:shiro.ini");
> org.apache.shiro.mgt.SecurityManager securityManager =
> factory.getInstance();
> SecurityUtils.setSecurityManager(securityManager);
> if (SecurityUtils.getSubject() != null) {
> SecurityUtils.getSubject().logout();
> }
> redirectToLogOut();
> }
>
> private void redirectToLogOut() {
> try {
> HttpServletRequest request = (HttpServletRequest) FacesContext.
> getCurrentInstance().getExternalContext().getRequest();
> /*String url = request.getRequestURL().toString();
>  String baseURL = url.substring(0, url.length() -
> request.getRequestURI().length()) + request.getContextPath() + "/";*/
> URL reconstructedURL;
>
> switch (request.getServerName()) {
> case "siampv5.mp":
> reconstructedURL = new URL(request.getScheme(),
> "siamp.mp",
> request.getServerPort(), ""
> );
> break;
> case "siampv3.mp":
> reconstructedURL = new URL(request.getScheme(),
> "siamp.mp",
> request.getServerPort(), ""
> );
> break;
> default:
> reconstructedURL = new URL(request.getScheme(),
> request.getServerName(),
> request.getServerPort(), ""
> );
> break;
> }
> reconstructedURL.toString();
> log.info(String.format("ReconstructedURL: %s",
> reconstructedURL.toString()));
> //log.info(String.format("BaseURL obtained: %s", baseURL));
> FacesContext.getCurrentInstance().
> getExternalContext().redirect(reconstructedURL.toString() +
> "/cas/logout");
> FacesContext.getCurrentInstance().getExternalContext().
> invalidateSession();
> } catch (IOException ex) {
> log.error(ex);
> }
> }
>
> thanks a lot
>
> --
> Ray Bon
> Programmer analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | r...@uvic.ca
>
> --
> - 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/1513704624.1789.16.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1513704624.1789.16.camel%40uvic.ca?utm_medium=email_source=footer>
> .
>

-- 
- 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/CANEG9%2BdSVGmEs9V%2B2DbMmhbjbyiijbCJxcw13pMov9%3DQO1kHbw%40mail.gmail.com.


[cas-user] CAS logout in all applications log in

2017-12-19 Thread carlos maddaleno cuellar
Hi i have a question to make you gays,

I'm a new in CAS so i have a question to make, i authenticate my
applications with the CAS server but when i log out from one aplication i
still be log in the another application for example.

I have an application cal app-b and another call app-c, so when i clic on
the logout button from the app-c it log out succesfully and when i try to
get into the app-c again it shows me the login window but if i turn to the
app-b it stiil have a validate session so i have to log out from it, so i
wanted to know how to log out from the two application at the same time, im
using the next method to log out

public void logout() {
Factory factory = new
IniSecurityManagerFactory("classpath:shiro.ini");
org.apache.shiro.mgt.SecurityManager securityManager =
factory.getInstance();
SecurityUtils.setSecurityManager(securityManager);
if (SecurityUtils.getSubject() != null) {
SecurityUtils.getSubject().logout();
}
redirectToLogOut();
}

private void redirectToLogOut() {
try {
HttpServletRequest request = (HttpServletRequest)
FacesContext.getCurrentInstance().getExternalContext().getRequest();
/*String url = request.getRequestURL().toString();
 String baseURL = url.substring(0, url.length() -
request.getRequestURI().length()) + request.getContextPath() + "/";*/
URL reconstructedURL;

switch (request.getServerName()) {
case "siampv5.mp":
reconstructedURL = new URL(request.getScheme(),
"siamp.mp",
request.getServerPort(), ""
);
break;
case "siampv3.mp":
reconstructedURL = new URL(request.getScheme(),
"siamp.mp",
request.getServerPort(), ""
);
break;
default:
reconstructedURL = new URL(request.getScheme(),
request.getServerName(),
request.getServerPort(), ""
);
break;
}
reconstructedURL.toString();
log.info(String.format("ReconstructedURL: %s",
reconstructedURL.toString()));
//log.info(String.format("BaseURL obtained: %s", baseURL));

FacesContext.getCurrentInstance().getExternalContext().redirect(reconstructedURL.toString()
+ "/cas/logout");

FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
} catch (IOException ex) {
log.error(ex);
}
}

thanks a lot

-- 
- 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/CANEG9%2Bd0uZzE3V%2BmQcEW7ezYSv4oOdWRP5Ac3j%2BWAZBSk1PbeQ%40mail.gmail.com.


Re: [cas-user] Problem with CAS on nginx configuration

2017-11-27 Thread carlos maddaleno cuellar
Thanks a lot i will take it a look!!

2017-11-23 16:25 GMT-06:00 Pascal Rigaux <pascal.rig...@univ-paris1.fr>:

> https://apereo.github.io/cas/5.1.x/installation/Troubleshoot
> ing-Guide.html#configuring-ssl-behind-load-balancerproxy
>
> carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com> a écrit :
>
>
> Hello!
>>
>> I wanted to know if some one could help me with a problem i have with my
>> CAS, the problem is that i have a nginx that is responding to three
>> diferent servers as a proxy, the thing is that i put the cas on one
>> instance (server) but when it loads on
>>
>> siampapps(nginx)
>>
>> https://siamppapps.mp/cas it shows that is not navigating on a secure
>> port
>> as you can see
>>
>> [image: Imágenes integradas 2]
>>
>>
>>
>> but when i try directly on the ip of the server and the port it doesn't
>> show any error
>>
>
>
> --
> Pascal Rigaux
>
> --
> - 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/ap
> ereo.org/d/msgid/cas-user/20171123232510.Horde.N7thZTg3HKFsZ
> 9Wp32w-V87%40courrier.univ-paris1.fr.
>

-- 
- 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/CANEG9%2BdYa3voRWMxHWgnAKm-ubQePSijxT%2B7wWoVbaGWQeWkXQ%40mail.gmail.com.


[cas-user] inspektr-jdbc-audit-config.xml

2017-01-03 Thread carlos maddaleno cuellar
Hi i need some help im trying to configure my audit to sql server data base
on my orale is working fine but when i change the cas.properties to my sql
server the log says

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'inspektrAuditEntityManagerFactory' defined in class path
resource [inspektr-jdbc-audit-config.xml]: Invocation of init method
failed; nested exception is javax.persistence.PersistenceException:
[PersistenceUnit: default] Unable to build Hibernate SessionFactory

Caused by: javax.persistence.PersistenceException: [PersistenceUnit:
default] Unable to build Hibernate SessionFactory


Caused by: org.hibernate.exception.GenericJDBCException: Unable to obtain
JDBC Connection

the params on my cas.properties are this:

#cas.audit.max.agedays=
#cas.audit.database.dialect=
#cas.audit.database.batchSize=
cas.audit.database.ddl.auto=validate
cas.audit.database.gen.ddl=false
cas.audit.database.show.sql=true
cas.audit.database.driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
cas.audit.database.url=jdbc:sqlserver://172.18.141.81
\DESA;databaseName=SEGURIDAD_BOLSA_EMPLEO
cas.audit.database.user=sa_desarrollo
cas.audit.database.password=EPXV5AA9BQ
#cas.audit.database.pool.minSize=
#cas.audit.database.pool.minSize=
#cas.audit.database.pool.maxSize=
#cas.audit.database.pool.maxIdleTime=
#cas.audit.database.pool.maxWait=
#cas.audit.database.pool.acquireIncrement=
#cas.audit.database.pool.acquireRetryAttempts=
#cas.audit.database.pool.acquireRetryDelay=
#cas.audit.database.pool.idleConnectionTestPeriod=
#cas.audit.database.pool.connectionHealthQuery=


cas.audit.database.dialect=org.hibernate.dialect.SQLServerDialect

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/CANEG9%2BcvcYkq1hay-2mZcpia1y%2BOaYBuOLKLMVNWEfvE9knYbw%40mail.gmail.com.


[cas-user] Fwd: how to kill all the session independent of the service

2016-10-26 Thread carlos maddaleno cuellar
i want that when i logout of one application or service it kills the others
but it dosent i haveto logout of every service i loggin  how can i do this?

what i do now is this.









 public void logout() {
Factory factory = new
IniSecurityManagerFactory("classpath:shiro.ini");
org.apache.shiro.mgt.SecurityManager securityManager =
factory.getInstance();
SecurityUtils.setSecurityManager(securityManager);
if (SecurityUtils.getSubject() != null) {
SecurityUtils.getSubject().logout();
}
redirectToLogOut();
}



private void redirectToLogOut() {
try {
HttpServletRequest request = (HttpServletRequest) FacesContext.
getCurrentInstance().getExternalContext().getRequest();
/*String url = request.getRequestURL().toString();
 String baseURL = url.substring(0, url.length() -
request.getRequestURI().length()) + request.getContextPath() + "/";*/

URL reconstructedURL = new URL(request.getScheme(),
request.getServerName(),
request.getServerPort(), ""
);
reconstructedURL.toString();
log.info(String.format("ReconstructedURL: %s",
reconstructedURL.toString()));
//log.info(String.format("BaseURL obtained: %s", baseURL));

FacesContext.getCurrentInstance().getExternalContext().redirect(reconstructedURL.toString()
+ "/cas/logout");
FacesContext.getCurrentInstance().getExternalContext().
invalidateSession();
} catch (IOException ex) {
log.error(ex);
}
}

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/CANEG9%2Bf3iES_KWEc4Z1wbUG3kOv3S9MmOocuu%2BzW-3pdonnH-Q%40mail.gmail.com.


[cas-user] how to kill all the session independent of the service

2016-10-24 Thread carlos maddaleno cuellar
i want that when i logout of one application or service it kills the others
but it dosent i haveto logout of every service i loggin  how can i do this?

what i do now is this.









 public void logout() {
Factory factory = new
IniSecurityManagerFactory("classpath:shiro.ini");
org.apache.shiro.mgt.SecurityManager securityManager =
factory.getInstance();
SecurityUtils.setSecurityManager(securityManager);
if (SecurityUtils.getSubject() != null) {
SecurityUtils.getSubject().logout();
}
redirectToLogOut();
}



private void redirectToLogOut() {
try {
HttpServletRequest request = (HttpServletRequest)
FacesContext.getCurrentInstance().getExternalContext().getRequest();
/*String url = request.getRequestURL().toString();
 String baseURL = url.substring(0, url.length() -
request.getRequestURI().length()) + request.getContextPath() + "/";*/

URL reconstructedURL = new URL(request.getScheme(),
request.getServerName(),
request.getServerPort(), ""
);
reconstructedURL.toString();
log.info(String.format("ReconstructedURL: %s",
reconstructedURL.toString()));
//log.info(String.format("BaseURL obtained: %s", baseURL));

FacesContext.getCurrentInstance().getExternalContext().redirect(reconstructedURL.toString()
+ "/cas/logout");

FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
} catch (IOException ex) {
log.error(ex);
}
}

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/CANEG9%2BdcX1T-9JY0VbcKS5muE%3Dx7S9hQdhrdgQ08i-sNi_WoQA%40mail.gmail.com.


[cas-user] Obtain credentials from another webflow

2016-10-10 Thread carlos maddaleno cuellar
Hi i create another webflow name passChange to change the user password so
this flows evaluate this

public String passChangeUser(final RequestContext context, final Credential
credential, final MessageContext messageContext) throws ParseException,
FailedLoginException, AccountPasswordMustChangeException,
AccountLockedException, SQLException {

but my credential goes null so how cai i obtain the user credential from
login flow to my flow, can i do this from the contex i hope yo can help me
please

thnaks

-- 
CAS gitter chatroom: https://gitter.im/apereo/cas
CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
CAS documentation website: https://apereo.github.io/cas
CAS project website: https://github.com/apereo/cas
--- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BfFx6_4WBLSRUJEHu%3Dz3KqfaW9QomO7s6SJ4%3D5Z6L4FpA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Using JDBC authentication and LDAP at the same TIME

2016-10-04 Thread carlos maddaleno cuellar
Hi i have a doubt  can i use jdbc authentication and LDAP at the same time
so there is user that dosent have a domain user, only application user so
if the user is not on my active directory it can authenticate to my
security database.

thanks.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bc79v6jsJt9YNFRidLZh4g9j-MKJpvcnUrPjLyGcjxG6g%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Info on STATISTICS page

2016-09-30 Thread carlos maddaleno cuellar
Hi i wanted to know if someone could explain me whats the diference
between  total jvm memory and max memory

where is this memory 7862 where do i configure this?

[image: Imágenes integradas 1]

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdXa5FEEMs8-W9iB7cAMLRDrUcvAe9bKo4iNppe6CwqzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
hi thanks i could acces i had to reload the application from my application
server so i have another cuestion sorry

my question is can i have multiple ip's like this

cas.securityContext.adminpages.ip=172.18.14.180|172.18.15.35

thanks

2016-09-30 10:18 GMT-06:00 Jérôme LELEU <lel...@gmail.com>:

> Hi,
>
> Indeed, this is very strange. I don't see any obvious reason.
>
> Can you access your develop server using a .* pattern? My guess is that
> the pattern is not taken into account...
>
> Thanks.
> Best regards,
> Jérôme
>
>
> 2016-09-30 18:11 GMT+02:00 carlos maddaleno cuellar <
> iamcarlosmaddal...@gmail.com>:
>
>> hi this is the error my server is showing when i try to acces
>>
>> ERROR [org.pac4j.http.client.direct.IpClient] - > validate credentials
>> org.pac4j.core.exception.CredentialsException: Unauthorized IP address:
>> 172.18.14.180 -->my ip addres
>>
>>
>> 2016-09-30 10:10 GMT-06:00 Jérôme LELEU <lel...@gmail.com>:
>>
>>> Hi,
>>>
>>> You should put the incoming IP, so generally your IP, but you must be
>>> sure this is really the IP sent to the develop server.
>>>
>>> What IP address do you see in the logs of your develop server when you
>>> call it?
>>>
>>> Thanks.
>>> Best regards,
>>> Jérôme
>>>
>>>
>>> 2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
>>> iamcarlosmaddal...@gmail.com>:
>>>
>>>> Hi i wanted to know if someone could help me i deployed my cas server
>>>> to my develop server
>>>>
>>>> so in my localhost http://localhost:8080/cas/statistics i can view it
>>>> son no problem
>>>>
>>>> but when i try to acces to my develop server on
>>>> http://172.18.141.35:8080/cas/statistics
>>>>
>>>> it says
>>>>
>>>> [image: Imágenes integradas 1]
>>>>
>>>>
>>>> so i wanted to know what ip do i have tu put on my cas.properties
>>>>
>>>> on my localhost i have
>>>> cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1
>>>>
>>>> and on my develop server
>>>>
>>>> cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415
>>>> b:2fad:bb51:1b6c%15
>>>>
>>>> so the ip of my computer is 172.18.14.180 i have to put my ip or the
>>>> server ip 172.18.141.35 please help
>>>>
>>>> thanks
>>>>
>>>> --
>>>> 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 post to this group, send email to cas-user@apereo.org.
>>>> Visit this group at https://groups.google.com/a/ap
>>>> ereo.org/group/cas-user/.
>>>> To view this discussion on the web visit https://groups.google.com/a/ap
>>>> ereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9c
>>>> p7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout
>>>> .
>>>>
>>>
>>>
>> --
>> 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 post to this group, send email to cas-user@apereo.org.
>> Visit this group at https://groups.google.com/a/ap
>> ereo.org/group/cas-user/.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-BbwoOn
>> hbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-BbwoOnhbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bcwjuaz8mNAXOL51pO_Z%2Bwxy6YTvreEm-k5PjDuwvxH-A%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
hi this is the error my server is showing when i try to acces

ERROR [org.pac4j.http.client.direct.IpClient] - my ip addres


2016-09-30 10:10 GMT-06:00 Jérôme LELEU <lel...@gmail.com>:

> Hi,
>
> You should put the incoming IP, so generally your IP, but you must be sure
> this is really the IP sent to the develop server.
>
> What IP address do you see in the logs of your develop server when you
> call it?
>
> Thanks.
> Best regards,
> Jérôme
>
>
> 2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
> iamcarlosmaddal...@gmail.com>:
>
>> Hi i wanted to know if someone could help me i deployed my cas server to
>> my develop server
>>
>> so in my localhost http://localhost:8080/cas/statistics i can view it
>> son no problem
>>
>> but when i try to acces to my develop server on
>> http://172.18.141.35:8080/cas/statistics
>>
>> it says
>>
>> [image: Imágenes integradas 1]
>>
>>
>> so i wanted to know what ip do i have tu put on my cas.properties
>>
>> on my localhost i have
>> cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1
>>
>> and on my develop server
>>
>> cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::
>> 415b:2fad:bb51:1b6c%15
>>
>> so the ip of my computer is 172.18.14.180 i have to put my ip or the
>> server ip 172.18.141.35 please help
>>
>> thanks
>>
>> --
>> 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 post to this group, send email to cas-user@apereo.org.
>> Visit this group at https://groups.google.com/a/ap
>> ereo.org/group/cas-user/.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9c
>> p7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-BbwoOnhbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
Hi i wanted to know if someone could help me i deployed my cas server to my
develop server

so in my localhost http://localhost:8080/cas/statistics i can view it son
no problem

but when i try to acces to my develop server on
http://172.18.141.35:8080/cas/statistics

it says

[image: Imágenes integradas 1]


so i wanted to know what ip do i have tu put on my cas.properties

on my localhost i have
cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1

and on my develop server

cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415b:2fad:bb51:1b6c%15

so the ip of my computer is 172.18.14.180 i have to put my ip or the server
ip 172.18.141.35 please help

thanks

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Re: statistics

2016-09-27 Thread carlos maddaleno cuellar
Hi fredy i have solved my problem reconfiguring cas-server, maybe help you
it is working now

2016-09-27 17:18 GMT-06:00 Fredy Mendoza Vargas :

> Me too, I have the same problem...
>
> Any Help Please!
>
> El martes, 27 de septiembre de 2016, 10:53:09 (UTC-5), Carlos Cuellar
> escribió:
>>
>> Hi i wanted to know if you could help me with this my statistic  page and
>> ssosession was working but now i try to get
>>
>> https://localhost:8181/cas/statistics or
>> https://localhost:8181/cas/statistics/ssosessions
>>
>> and it not work stay like this
>>
>> [image: Imágenes integradas 1]
>>
>> [image: Imágenes integradas 2]
>>
>> some could help me please.
>>
>>
>> --
> 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 post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/eac46a36-6f20-4000-8b23-
> eb439d74b31a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdiP88duvDOTrrbyZX-%3DUM7kU0hnabOoA-geKVSKgU_yA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] statistics

2016-09-27 Thread carlos maddaleno cuellar
Hi i wanted to know if you could help me with this my statistic  page and
ssosession was working but now i try to get

https://localhost:8181/cas/statistics or
https://localhost:8181/cas/statistics/ssosessions

and it not work stay like this

[image: Imágenes integradas 1]

[image: Imágenes integradas 2]

some could help me please.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bd6uAAemEJgjvtx55rtQi8B%3D-dwmRe3WZZJ3BjUBLtN8w%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Problems changing CAS lenguage

2016-09-26 Thread carlos maddaleno cuellar
Hi i having troubles trying to change my cas lenguage when i configure it
on my cas.properties to es
like this

##
# CAS Internationalization
#
  locale.default=es
# locale.param.name=locale
  message.bundle.encoding=UTF-8
# message.bundle.cacheseconds=180
# message.bundle.fallback.systemlocale=false
# message.bundle.usecode.message=true
# message.bundle.basenames=classpath:custom_messages,classpath:messages

on my login page all the words thah use accent like ón appears like
[image: Imágenes integradas 2]
so its like its not working my encoding at begining it was working but when
i change it directly from my cas.properties it stop working, someone could
help me please?

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcfFbBc--iiKeb74UWupq6cZYboz%2Bw565xeNKusnU_FfA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Re: Simple question

2016-08-22 Thread carlos maddaleno cuellar
Thaks I did it the problem I hace now is thah when appears some text like
"sesión" it appears "ses$#n" some strange text what could it be is like
dosent have the correct encode or codification in all the words where the ó
Is use
Thanks
El 22 ago. 2016 1:08 AM, "Carlos Joaquín de Nova de Nova" <
carlos.de.n...@gmail.com> escribió:

> Edit the cas.properties file that you use. Yo cand find the next section:
>
> ##
> # CAS Internationalization
> #
> # locale.default=en
> # locale.param.name=locale
> # message.bundle.encoding=UTF-8
> # message.bundle.cacheseconds=180
> # message.bundle.fallback.systemlocale=false
> # message.bundle.usecode.message=true
> # message.bundle.basenames=classpath:custom_messages,classpath:messages
>
> Uncomment the locale.default= line and put the value for the language that
> you want to use as default language. Uncomment the locale.param.name
> =locale
>
> If you want to use spanish as default language the value por
> locale.default is:
>
> locale.default=es
>
> Best Regards,
>
>
>
>
> El viernes, 19 de agosto de 2016, 16:52:57 (UTC+2), Carlos Cuellar
> escribió:
>>
>> How can i put the default lenguage to spanish where can i configure this
>> please.
>>
>> thanks
>>
> --
> 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 post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/ee9d57f3-625d-4afa-9f37-
> 13e430adae0b%40apereo.org
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdC3bF_EcFmOAHOKB58_90dUFHYeQUZb2UaQz5q3S0CJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Simple question

2016-08-19 Thread carlos maddaleno cuellar
How can i put the default lenguage to spanish where can i configure this
please.

thanks

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdW2QiD-uFak%2B9i7YfiRhpKgyAbXompdpJhatX2KVW6hA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] 'passwordPolicyConfiguration' cannot be found on object of type

2016-08-04 Thread carlos maddaleno cuellar
org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos
0): Property or field 'passwordPolicyConfiguration' cannot be found on
object of type
'org.springframework.webflow.engine.impl.RequestControlContextImpl' - maybe
not public?

I get this error when throwing throw new
AccountPasswordMustChangeException("Password expired."); and donsent show
the page could some one help me please.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcPpkioNjqxgtMH8CzEcv%2BPf5MCzNPLhkXu20M%3DnsTpJA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Using principal attributes

2016-08-04 Thread carlos maddaleno cuellar
Hi i wanted to know if some one can help me i wanted to use the principal
attributes on my spring context to do some validation on the web flow but
how can i call some attribute as a variable from sprin jsp page or bean
thanks.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcZPXqovctz%2BSeLuzkKH9rOSc26EG9U-5s9evLsAFLh_g%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Error with auditTrailContext.xml

2016-08-03 Thread carlos maddaleno cuellar
Hi im having a problem with auditTrailContext.xml i have it under my
spring-configuration im using cas 4.2.3  the error says this

org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'assertionAsReturnValuePrincipalResolver' defined
in URL
[jar:file:/C:/Projects/cas/cas-overlay-template-master/cas-overlay-template-master/target/cas/WEB-INF/lib/cas-server-core-audit-4.2.3.jar!/org/jasig/cas/audit/spi/AssertionAsReturnValuePrincipalResolver.class]:
Unsatisfied dependency expressed through constructor argument with index 0
of type [org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver]: :
Error creating bean with name 'auditablePrincipalResolver' defined in
ServletContext resource
[/WEB-INF/spring-configuration/auditTrailContext.xml]: Unsatisfied
dependency expressed through constructor argument with index 0 of type
[org.jasig.cas.CentralAuthenticationService]: Ambiguous constructor
argument types - did you specify the correct bean references as constructor
arguments?; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'auditablePrincipalResolver' defined in
ServletContext resource
[/WEB-INF/spring-configuration/auditTrailContext.xml]: Unsatisfied
dependency expressed through constructor argument with index 0 of type
[org.jasig.cas.CentralAuthenticationService]: Ambiguous constructor
argument types - did you specify the correct bean references as constructor
arguments?

this is my file:


http://www.springframework.org/schema/beans;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xmlns:aop="http://www.springframework.org/schema/aop;
   xmlns:p="http://www.springframework.org/schema/p;
   xmlns:c="http://www.springframework.org/schema/c;
   xmlns:util="http://www.springframework.org/schema/util;
   xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
   http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
   http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd;>


Configuration file for the Inspektr package which handles auditing
for Java applications.
If enabled this should be modified to log audit and statistics
information the same way
your local applications do. The default is currently to log to the
console which is good
for debugging/testing purposes.

























































































could some one help me please


my pom dependencies




org.jasig.cas
cas-server-webapp
${cas.version}
war
runtime



org.jasig.cas
cas-server-support-jdbc
${cas.version}




org.jasig.cas
cas-server-webapp-actions-aup-webflow
${cas.version}



org.apache.commons
commons-collections4
4.1


org.apereo.service.persondir
person-directory-api
1.8.1
jar


org.apereo.service.persondir
person-directory-impl
1.8.1
jar


org.jasig.cas
cas-server-webapp-throttle
${cas.version}



javax.servlet
servlet-api
2.5


org.apereo.inspektr
inspektr-audit
1.5.GA
jar



4.2.3

9.3.6.v20151106
1.7
1.7
UTF-8


-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcecBn4fBv7fqxJZJ7ecOB9Gx32UnKiFn0s3j12VUJ%2BBw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Fwd: Implementing Services Management Webapp

2016-07-25 Thread carlos maddaleno cuellar
I have to change on my service to this:


{
  "@class" : "org.jasig.cas.services.RegexRegisteredService",
  "serviceId" : "^http://localhost:8080/correspondencia.*
<https://localhost:8181/correspondencia.*>",
  "name" : "Correspondencia",
  "id" : 1223363315231709,
  "description" : "Correspondencia",
  "proxyPolicy" : {
"@class" : "org.jasig.cas.services.RefuseRegisteredServiceProxyPolicy"
  },
  "evaluationOrder" : 2,
  "usernameAttributeProvider" : {
"@class" :
"org.jasig.cas.services.DefaultRegisteredServiceUsernameProvider"
  },
  "logoutType" : "BACK_CHANNEL",
  "attributeReleasePolicy" : {
"@class" : "org.jasig.cas.services.ReturnAllowedAttributeReleasePolicy",
"principalAttributesRepository" : {
  "@class" :
"org.jasig.cas.authentication.principal.DefaultPrincipalAttributesRepository"
},
"authorizedToReleaseCredentialPassword" : false,
"authorizedToReleaseProxyGrantingTicket" : false
  },
  "accessStrategy" : {
"@class" :
"org.jasig.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true
  }
}




2016-07-25 12:38 GMT-06:00 Misagh Moayyed <mmoay...@unicon.net>:

> - Post to a single mailing list.
> - Switch to 4.2.4-SNAPSHOT, or wait until Friday.
> - Your service starts with http.
>
> --
> Misagh
>
> From: carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com>
> <iamcarlosmaddal...@gmail.com>
> Reply: carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com>
> <iamcarlosmaddal...@gmail.com>
> Date: July 25, 2016 at 11:09:05 AM
> To: Misagh Moayyed <mmoay...@unicon.net> <mmoay...@unicon.net>,
> cas-user@apereo.org <cas-user@apereo.org> <cas-user@apereo.org>,
> cas-...@apereo.org <cas-...@apereo.org> <cas-...@apereo.org>
> Subject:  Re: [cas-user] Fwd: Implementing Services Management Webapp
>
> Hi i could fix the problem on cas-managementeWebappa adding
>
>  class="org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver" />
>
> now its working, what i want to do now is to redirect other application to
> my cas unis shiro.ini
>
> [main]
>
> #admiRealm.authorizationCachingEnabled = false
> cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
> securityManager.cacheManager = $cacheManager
>
> casFilter = org.apache.shiro.cas.CasFilter
> casFilter.failureUrl = https://localhost:8181/cas/login
>
> #Configuration
> conf = gt.gob.mp.siamp.seguridad.wrp.AuthConfiguration
> #URL Server CAS
> conf.urlCasServer = https://localhost:8181/cas
> #URL Client Shiro
> conf.urlClientShiro = http://localhost:8080/correspondencia/shiro-cas
> #URL Login
> conf.loginUrl =
> https://localhost:8181/cas/login?service=http://localhost:8080/correspondencia/shiro-cas
>
> casRealm = gt.gob.mp.siamp.seguridad.cliente.ShiroCasRealm
> casRealm.defaultRoles = ROLE_USER
> casRealm.authConfiguration = $conf
>
> ds = org.apache.shiro.jndi.JndiObjectFactory
> ds.resourceName = jdbc/seguridad
> ds.resourceRef = true
>
> jdbcRealm = gt.gob.mp.siamp.seguridad.cliente.JdbcRealmSubject
> jdbcRealm.permissionsLookupEnabled = true
> jdbcRealm.dataSource = $ds
>
> #md5Matcher = org.apache.shiro.authc.credential.Md5CredentialsMatcher
> #jdbcRealm.credentialsMatcher = $md5Matcher
>
> hashService = org.apache.shiro.crypto.hash.DefaultHashService
> hashService.hashIterations = 512
> hashService.hashAlgorithmName = SHA-256
> hashService.generatePublicSalt = true
>
> passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
> passwordService.hashService = $hashService
>
> passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
> passwordMatcher.passwordService = $passwordService
>
> casSubjectFactory = org.apache.shiro.cas.CasSubjectFactory
> securityManager.subjectFactory = $casSubjectFactory
>
> roles = gt.gob.mp.siamp.seguridad.cliente.ShiroCasFilter
> roles.authConfiguration = $conf
>
> [urls]
> /rest/1.0/** = anon
> # /rest/responsables/** = anon
> /shiro-cas = casFilter
> /** = roles[ROLE_USER]
> /faces/javax.faces.resource/** = anon
> /faces/** = roles
>
>
> i add a service like this
>
> {
>   "@class" : "org.jasig.cas.services.RegexRegisteredService",
>   "serviceId" : "^https://localhost:8181/correspondencia.*;,
>   "name" : "Correspondencia",
>   "id" : 1223363315231709,
>   "descript

Re: [cas-user] Fwd: Implementing Services Management Webapp

2016-07-25 Thread carlos maddaleno cuellar
Hi i could fix the problem on cas-managementeWebappa adding



now its working, what i want to do now is to redirect other application to
my cas unis shiro.ini

[main]

#admiRealm.authorizationCachingEnabled = false
cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $cacheManager

casFilter = org.apache.shiro.cas.CasFilter
casFilter.failureUrl = https://localhost:8181/cas/login

#Configuration
conf = gt.gob.mp.siamp.seguridad.wrp.AuthConfiguration
#URL Server CAS
conf.urlCasServer = https://localhost:8181/cas
#URL Client Shiro
conf.urlClientShiro = http://localhost:8080/correspondencia/shiro-cas
#URL Login
conf.loginUrl =
https://localhost:8181/cas/login?service=http://localhost:8080/correspondencia/shiro-cas

casRealm = gt.gob.mp.siamp.seguridad.cliente.ShiroCasRealm
casRealm.defaultRoles = ROLE_USER
casRealm.authConfiguration = $conf

ds = org.apache.shiro.jndi.JndiObjectFactory
ds.resourceName = jdbc/seguridad
ds.resourceRef = true

jdbcRealm = gt.gob.mp.siamp.seguridad.cliente.JdbcRealmSubject
jdbcRealm.permissionsLookupEnabled = true
jdbcRealm.dataSource = $ds

#md5Matcher = org.apache.shiro.authc.credential.Md5CredentialsMatcher
#jdbcRealm.credentialsMatcher = $md5Matcher

hashService = org.apache.shiro.crypto.hash.DefaultHashService
hashService.hashIterations = 512
hashService.hashAlgorithmName = SHA-256
hashService.generatePublicSalt = true

passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
passwordService.hashService = $hashService

passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
passwordMatcher.passwordService = $passwordService

casSubjectFactory = org.apache.shiro.cas.CasSubjectFactory
securityManager.subjectFactory = $casSubjectFactory

roles = gt.gob.mp.siamp.seguridad.cliente.ShiroCasFilter
roles.authConfiguration = $conf

[urls]
/rest/1.0/** = anon
# /rest/responsables/** = anon
/shiro-cas = casFilter
/** = roles[ROLE_USER]
/faces/javax.faces.resource/** = anon
/faces/** = roles


i add a service like this

{
  "@class" : "org.jasig.cas.services.RegexRegisteredService",
  "serviceId" : "^https://localhost:8181/correspondencia.*;,
  "name" : "Correspondencia",
  "id" : 1223363315231709,
  "description" : "Correspondencia",
  "proxyPolicy" : {
"@class" : "org.jasig.cas.services.RefuseRegisteredServiceProxyPolicy"
  },
  "evaluationOrder" : 2,
  "usernameAttributeProvider" : {
"@class" :
"org.jasig.cas.services.DefaultRegisteredServiceUsernameProvider"
  },
  "logoutType" : "BACK_CHANNEL",
  "attributeReleasePolicy" : {
"@class" : "org.jasig.cas.services.ReturnAllowedAttributeReleasePolicy",
"principalAttributesRepository" : {
  "@class" :
"org.jasig.cas.authentication.principal.DefaultPrincipalAttributesRepository"
},
"authorizedToReleaseCredentialPassword" : false,
"authorizedToReleaseProxyGrantingTicket" : false
  },
  "accessStrategy" : {
"@class" :
"org.jasig.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true
  }
}

on my http://localhost:8080/cas-services/manage.html

and on my page appears this

[image: Imágenes integradas 1]

can some one help me what can i have to modify to get log on my
correspondencia application

thanks




2016-07-22 8:34 GMT-06:00 carlos maddaleno cuellar <
iamcarlosmaddal...@gmail.com>:

> Hi i try to switch to 4.2.4-SNAPSHOT
>
> 
> org.jasig.cas
> cas-management-webapp
> ${cas.version}
> war
> runtime
> 
>
>
> 4.2.4-SNAPSHOT
>
> but when i try to compile  it shows the next error
>
> Failed to execute goal on project cas4-svc-mgmt-overlay: Could not resolve
> dependencies for project net.unicon:cas4-svc-mgmt-overlay:war:1.0: Could
> not find artifact org.jasig.cas:cas-management-webapp:war:4.2.4-SNAPSHOT ->
> [Help 1] what is wrong could you help me
>
>
> 2016-07-22 0:16 GMT-06:00 Misagh Moayyed <mmoay...@unicon.net>:
>
>> Switch to 4.2.4-SNAPSHOT and report back. This is fixed.
>>
>> --
>> Misagh
>>
>> From: carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com>
>> <iamcarlosmaddal...@gmail.com>
>> Reply: carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com>
>> <iamcarlosmaddal...@gmail.com>
>> Date: July 21, 2016 at 2:50:47 PM
>> To: jasig-cas-user <jasig-cas-u...@googlegroups.com>
>> <jasig-cas-u...@googlegroups.com>, cas-user@apereo.org
>> <cas-user@apereo.org> <cas-user@apereo.org>
>> Subje

[cas-user] Fwd: Implementing Services Management Webapp

2016-07-21 Thread carlos maddaleno cuellar
im triying to fallow the step on the page of apereo
https://apereo.github.io/cas/4.2.x/installation/Installing-ServicesMgmt-Webapp.html#services-management-webapp

but when i run the project it show me the next error:

2016-07-21 15:28:11,123 WARN
[org.springframework.web.context.support.XmlWebApplicationContext] -

Información:   2016-07-21 15:28:11,152 WARN
[org.jasig.cas.services.JsonServiceRegistryConfigWatcher] - 
Información:   2016-07-21 15:28:11,157 ERROR
[org.springframework.web.context.ContextLoader] - 


http://www.w3.org/2001/XMLSchema-instance;
   xmlns:p="http://www.springframework.org/schema/p;
   xmlns:util="http://www.springframework.org/schema/util;
   xmlns="http://www.springframework.org/schema/beans;
   xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
   http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd;>























 and the propertiFileConfigurer.xml



http://www.springframework.org/schema/beans;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xmlns:p="http://www.springframework.org/schema/p;
   xmlns:context="http://www.springframework.org/schema/context;
   xmlns:util="http://www.springframework.org/schema/util;
   xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
   http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
   http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd;>

This file lets CAS know where you've stored the cas.properties file
which details some of the configuration options
that are specific to your environment.  You can specify the
location of the file here.  You may wish to place the file outside
of the Servlet context if you have options that are specific to a
tier (i.e. test vs. production) so that the WAR file
can be moved between tiers without modification.









could you help me

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bcc%3D95BzoKYm4XQzxBeEdEJLwB%3DiACy6191BjNmRfx8ug%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Implementing Services Management Webapp

2016-07-21 Thread carlos maddaleno cuellar
im triying to fllow the step on the page of apereo
https://apereo.github.io/cas/4.2.x/installation/Installing-ServicesMgmt-Webapp.html#services-management-webapp

but when i run the project it show me the next error:

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdtGCxapp8BrdsvAFxMNnzaSy28Lw%2BUpUuCwOH4WD0qPw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] CAS flow modification

2016-07-15 Thread carlos maddaleno cuellar
Hey i wanted to know if you could help im on the implementation of CAS
4.2.3 Using the maven overlay project im already connect to my oracle
database and im saving the audit logs to a database what i wanted now is to
modify and activate my flow to know when an user is locked (how can i
configure when the user intented to log more than 3 times it get lock) whe
the user date validation for a password is getting to get expired had a
warn and how can i add a link on my login to change the passwor now i have
the default login page thanks.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcdivRerPSQrkLatecXU0Lndbeh6iYhxhF3Pg4FQGv1Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Re: Delivery Status Notification (Failure)

2016-07-07 Thread carlos maddaleno cuellar
IQMe/AuVZNaxh5ub/QtcDrrt2eoTVdJ+l5sG54xDzTtu6XQYCKtciukqQ2+r
>
>  TcjT/KQcdMNDevxKv4V4WEMwcoJY5+/E6cAo/sRGNKUvUDZZgW1BdeAKwKZQBW366C8P
>
>  T9WbDSHiNTywhE78B9B0fgPXBl4XAWzG/nnz4e/EgpW14vjPqkkKZ/VxDSN/DbxBJl8Y
>  +YRw==
> X-Gm-Message-State:
> ALyK8tIjheN5VNVZtiHf6z7wzpB83AcUseJE+Wt3QNAU4w+HVHNH4iqtUiE0uZ/w4upXxcyoDGSlpJC3CMdk/g==
> X-Received: by 10.159.55.165 with SMTP id
> q34mr10505804uaq.85.1467834387423;
>  Wed, 06 Jul 2016 12:46:27 -0700 (PDT)
> MIME-Version: 1.0
> Received: by 10.103.138.68 with HTTP; Wed, 6 Jul 2016 12:46:27 -0700 (PDT)
> From: carlos maddaleno cuellar <iamcarlosmaddal...@gmail.com>
> Date: Wed, 6 Jul 2016 13:46:27 -0600
> Message-ID: <
> caneg9+ef+oonvgnt6j-fynn0zfdmqb5eqtealgeaw3yx_sf...@mail.gmail.com>
> Subject: implementation of CAS
> To: cas-...@apereo.org
> Content-Type: multipart/alternative; boundary=94eb2c03edf24068150536fcd3cc
>
> Hi i wanted to know if you can help me with cas implementation im new and i
> just download the CAS version and i just cant find out how to configure it
> with a oracle database connection using a datasourcev4.2.3
> <https://github.com/apereo/cas/releases/tag/v4.2.3>
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bc%3Dz67xeXJu%3DJfx6zy-rt0KGpTTVjxNr3uArmytmiBCRA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.