Code example for Subject

Methods: getPublicCredentials

0
     */ 
    private static final long serialVersionUID = 3257570611415888950L;
 
 
    protected Set<JGuardCredential> getCredentials(Subject subject) {
        return subject.getPublicCredentials(JGuardCredential.class);
    } 
 
    protected boolean isPrivate() { 
        return false; 
    } 
 
    protected String getTagName() {
        return "PubCredential"; 
    } 
 
}