Setting a Default Domain
Active Directory may require users to include the domain name with
their user name when logging in. That is, they made need to enter
something like myuser@mydomain.com
instead of
just myuser
.
If this is the case you can fix the problem by modifying the entry
in jaas.config
to include a default domain name
as follows:
ece-basic { com.escenic.auth.jaas.ShiroLoginModule required domain=mydomain.com; };
The default domain specified here will then be automatically appended if the user does not specify one.