public class SubjectIssuerGrantedAuthority extends Object implements org.springframework.security.core.GrantedAuthority
Constructor and Description |
---|
SubjectIssuerGrantedAuthority(String subject,
String issuer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthority()
Returns a string formed by concatenating the subject with the issuer, separated by _ and prepended with OIDC_
For example, the user "bob" from issuer "http://id.example.com/" would return the authority string of:
OIDC_bob_http://id.example.com/
|
String |
getIssuer() |
String |
getSubject() |
int |
hashCode() |
String |
toString() |
public SubjectIssuerGrantedAuthority(String subject, String issuer)
subject
- issuer
- public String getAuthority()
getAuthority
in interface org.springframework.security.core.GrantedAuthority
public String getSubject()
Copyright © 2018. All rights reserved.