Commit 76b91aa7 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Minor SP fix

parent a04e3be5
Pipeline #25439 passed with stage
in 42 seconds
...@@ -17,7 +17,7 @@ public class UserDaoImpl extends BaseMongoDaoImpl<User> implements UserDao { ...@@ -17,7 +17,7 @@ public class UserDaoImpl extends BaseMongoDaoImpl<User> implements UserDao {
public User findByUsername(String domain, String username) { public User findByUsername(String domain, String username) {
Query q = new Query(); Query q = new Query();
q.addCriteria(Criteria.where("username").is(username)); q.addCriteria(Criteria.where("username").is(username));
q.addCriteria(Criteria.where("endpointId").is(domain)); q.addCriteria(Criteria.where("issuer").is(domain));
return this.findOne(q); return this.findOne(q);
} }
} }
...@@ -164,7 +164,7 @@ auth: ...@@ -164,7 +164,7 @@ auth:
- check: AND - check: AND
attributes: attributes:
- friendlyName: eduPersonPrincipalName - friendlyName: eduPersonPrincipalName
mappedAttribute: id mappedAttribute: username
name: urn:oid:1.3.6.1.4.1.5923.1.1.1.6 name: urn:oid:1.3.6.1.4.1.5923.1.1.1.6
nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:uri nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
- check: OPTIONAL - check: OPTIONAL
...@@ -172,10 +172,6 @@ auth: ...@@ -172,10 +172,6 @@ auth:
- friendlyName: mail - friendlyName: mail
name: urn:oid:0.9.2342.19200300.100.1.3 name: urn:oid:0.9.2342.19200300.100.1.3
nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:uri nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
- friendlyName: displayName
mappedAttribute: username
name: urn:oid:2.16.840.1.113730.3.1.241
nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
- friendlyName: isMemberOf - friendlyName: isMemberOf
mappedAttribute: externalRoles mappedAttribute: externalRoles
name: urn:oid:1.3.6.1.4.1.5923.1.5.1.1 name: urn:oid:1.3.6.1.4.1.5923.1.5.1.1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment