Hi there,

While it is CAS 6.2.x and it is quite a long time ago so I forget about 
most of what I did.

But these configuration is what I used for when I successfully login to 
Radius using CAS 6.2.x during my demo project:

https://github.com/NgSekLong/SelectUrCAS/tree/master/source/authentication/freeradius

Note:

   - I am using Free Radius
   - CAS 6.2.x might differs from CAS 6.3.x 
   - The Github structure is a bit strange because it is suppose to work as 
   a complete demo project, but I think you can get the most important info 
   just from the path I give above

The most important different I see is that I included 

   - compile 
   "org.apereo.cas:cas-server-support-simple-mfa:${project.'cas.version'}"

And I marked that this is needed for bug fixes, see if adding that will 
help you as well.

Cheers,
Andy
On Tuesday, 20 April 2021 at 00:15:02 UTC+8 [email protected] wrote:

>
>
>
> I have changed cas.propierties to :
>
>
> cas.authn.radius.server.nasPortId=-1
> cas.authn.radius.server.nasRealPort=-1
> cas.authn.radius.server.protocol=EAP_MSCHAPv2
> cas.authn.radius.server.retries=3
> cas.authn.radius.server.nasPortType=-1
> cas.authn.radius.server.nasPort=-1
> cas.authn.radius.server.nasIpAddress=
> cas.authn.radius.server.nasIpv6Address=
> cas.authn.radius.server.nasIdentifier=-1
>
> cas.authn.radius.client.authenticationPort=1812
> cas.authn.radius.client.sharedSecret=string
> cas.authn.radius.client.socketTimeout=0
> cas.authn.radius.client.inetAddress=IPadresradius
> cas.authn.radius.client.accountingPort=1813
>
> cas.authn.radius.name=Radius
> cas.authn.radius.failoverOnException=false
> cas.authn.radius.failoverOnAuthenticationFailure=false
>
> But still no restult i cant see any issues in: 
> docker logs -f container.
>
> I can do like this too but i think it is the same :
> ${configurationKey}=cas.authn.radius
> an then:
> ${configurationKey}.server.nasPortId=-1 and than the same .
>
> I have given up .
> środa, 14 kwietnia 2021 o 17:51:08 UTC+2 artur miś napisał(a):
>
>> Dears,
>> I have cas.propierties like:
>>
>> #Radius
>> cas.authn.radius.name=Radius
>> cas.authn.radius.server.protocol=EAP_MSCHAPv2
>> cas.authn.radius.server.retries=1
>> cas.authn.radius.client.authenticationPort=1812
>> cas.authn.radius.client.sharedSecret=somestring
>> cas.authn.radius.client.inetAddress=IP
>> cas.authn.radius.client.accountingPort=1813
>>
>>
>> build.gradle:
>> dependencies {
>>     // Add modules in format compatible with overlay casModules property
>>     if (project.hasProperty("casModules")) {
>>         def dependencies = project.getProperty("casModules").split(",")
>>         dependencies.each {
>>             def projectsToAdd = rootProject.subprojects.findAll {project 
>> ->
>>                 project.name == "cas-server-core-${it}" || project.name 
>> == "cas-server-support-${it}"
>>            implementation 
>> "org.apereo.cas:cas-server-support-radius:${project.'cas.version'}"
>>           // implementation 
>> "org.apereo.cas:cas-server-support-simple-mfa:${project.'cas.version'}"
>>             }
>>             projectsToAdd.each {implementation it}
>>         }
>>     }
>>
>>
>> I am able prepare image of container .Container is opperating. But i 
>> cannnot see any hits on network trafic  if i try to log to  singned 
>> services .Of course i cant log in.What more after   sudo docker -f logs 
>> <name_of_cont> i cannot see any problems with connection to radius side. 
>> Dears  Any idea ?
>>
>>
>>
>> {
>>   "@class" : "org.jasig.cas.services.RegexRegisteredService",
>>   "serviceId" : "^(http|https|imaps)://*",
>>   "name" : "PRG_PABLO",
>>   "id" : 3,
>>   "evaluationOrder" : 0,
>>   "theme" : "nextor",
>>    "authenticationPolicy" : {
>>     "@class" : 
>> "org.apereo.cas.services.DefaultRegisteredServiceAuthenticationPolicy",
>>     "requiredAuthenticationHandlers" : ["java.util.TreeSet", [ "Radius" ]]
>>   }
>>
>> }
>>
>>
>> Is it generaly possible auth via RADIUS in cas 6.3.x noweaday ?
>>
>> Any debug setting  in log4j2.xml ?
>>
>>

-- 
- 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/0371996b-fc27-401d-b5bf-8395ccff3578n%40apereo.org.

Reply via email to