Hi Hanen,

In default IS pack, it authenticate the user via
org.wso2.carbon.user.core.ldap.*ReadWriteLDAPUserStoreManager *class (You
can find the source in [1]) which is configured in
<IS_HOME>/repository/conf/user-mgt.xml. To overcome your requirement to
authenticate based on a third attribute as you have mentioned, you can
write a custom user store manager and can configure in user-mgt.xml. Please
refer [2] how to write custom user store manager.

[1]
https://github.com/wso2/carbon-kernel/blob/v4.4.4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/ldap/ReadWriteLDAPUserStoreManager.java
[2] https://docs.wso2.com/display/IS500/Writing+a+Custom+User+Store+Manager

Thanks
Godwin

On Thu, Dec 22, 2016 at 3:08 PM, Hanen Ben Rhouma <[email protected]>
wrote:

> Hi Godwin,
>
> I'm referring the IS management console.
>
> Regards,
> Hanen
>
> On Thu, Dec 22, 2016 at 10:30 AM, Godwin Shrimal <[email protected]> wrote:
>
>> Hi Hanen,
>>
>> You are referring logging to Identity Server management console or SSO
>> login ?
>>
>> Thanks
>> Godwin
>>
>>
>> On Thu, Dec 22, 2016 at 2:25 PM, Hanen Ben Rhouma <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> Is there a way to manage authentication based on a third attribute like
>>> "workingHours" which specifies in which time interval is the user
>>> authorized to access ? Can we customize WSO2 IS to take this attribute into
>>> account?
>>>
>>>
>>> Regards,
>>> Hanen
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>>
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to