Class jHasClaim
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.functor.JFunctorImpl
-
- org.oa4mp.server.loader.oauth2.functor.claims.ClaimFunctor
-
- org.oa4mp.server.loader.oauth2.functor.claims.jHasClaim
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.util.functor.JFunctor
,edu.uiuc.ncsa.security.util.functor.JMetaMetaFunctor
,edu.uiuc.ncsa.security.util.functor.JSONFunctor
,Serializable
public class jHasClaim extends ClaimFunctor
This takes the name of a claim and returns whether or not it exists in the current set of claims.$jHasClaim[X]
returns true if X is a claim. False otherwise. For instance, to check if the eppn claim has been set$jHasClaim["eppn"]
Note that you do not supply the value of the claim, just its name (which may be computed by another functor, of course).Created by Jeff Gaynor
on 6/13/18 at 6:13 PM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.functor.claims.ClaimFunctor
claims
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute()
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.functor.claims.ClaimFunctor
getClaims, setClaims
-
-