mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 19:43:10 +00:00
[DS-707] Boolean instantiations
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -471,14 +471,14 @@ public class X509Authentication implements AuthenticationMethod
|
||||
if (email.substring(email.length() - emailDomain.length()).equals(
|
||||
emailDomain))
|
||||
{
|
||||
session.setAttribute("x509Auth", new Boolean(true));
|
||||
session.setAttribute("x509Auth", Boolean.TRUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// No configured email domain to verify. Just flag
|
||||
// as authenticated so special groups are granted.
|
||||
session.setAttribute("x509Auth", new Boolean(true));
|
||||
session.setAttribute("x509Auth", Boolean.TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user