Examples of subject()


Examples of com.atlassian.jwt.writer.JwtJsonBuilder.subject()

                .issuedAt(TimeUtil.currentTimeSeconds())
                .expirationTime(TimeUtil.currentTimePlusNSeconds(jwtExpiryWindowSeconds))
                .issuer(AC.PLUGIN_KEY);

        if (null != userKeyValue) {
            jsonBuilder = jsonBuilder.subject(userKeyValue);
        }

        Map<String, String[]> completeParams = params;

        try {
View Full Code Here

Examples of com.atlassian.jwt.writer.JwtJsonBuilder.subject()

                .expirationTime(TimeUtil.currentTimePlusNSeconds(jwtExpiryWindowSeconds))
                .issuer(AC.PLUGIN_KEY)
                .audience(acHost.getKey());

        if (null != userKeyValue) {
            jsonBuilder = jsonBuilder.subject(userKeyValue);
        }

        Map<String, String[]> completeParams = params;

        try {
View Full Code Here

Examples of com.atlassian.jwt.writer.JwtJsonBuilder.subject()

                .issuedAt(TimeUtil.currentTimeSeconds())
                .expirationTime(TimeUtil.currentTimePlusNSeconds(jwtExpiryWindowSeconds))
                .issuer(AC.PLUGIN_KEY);

        if (null != userKeyValue) {
            jsonBuilder = jsonBuilder.subject(userKeyValue);
        }

        Map<String, String[]> completeParams = params;

        try {
View Full Code Here

Examples of com.complexible.stardog.api.Getter.subject()

    Getter getter = null;
    try {
      getter = connection.get();
     
      if (subject != null) {
        getter.subject(new URIImpl(subject));
      }
     
      if (predicate != null) {
        getter.predicate(new URIImpl(predicate));
      }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Discussion.subject()

        assertEquals(discussion.forumId().id(), discussionData.getForumId());
        assertEquals(discussion.tenant().id(), discussionData.getTenantId());
        assertEquals(discussion.author().emailAddress(), discussionData.getAuthorEmailAddress());
        assertEquals(discussion.author().identity(), discussionData.getAuthorIdentity());
        assertEquals(discussion.author().name(), discussionData.getAuthorName());
        assertEquals(discussion.subject(), discussionData.getSubject());
        assertEquals(discussion.exclusiveOwner(), discussionData.getExclusiveOwner());
        assertEquals(discussion.isClosed(), discussionData.isClosed());
    }

    public void testDiscussionIdOfExclusiveOwner() throws Exception {
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Discussion.subject()

        assertEquals(discussion.forumId().id(), discussionPostsData.getForumId());
        assertEquals(discussion.tenant().id(), discussionPostsData.getTenantId());
        assertEquals(discussion.author().emailAddress(), discussionPostsData.getAuthorEmailAddress());
        assertEquals(discussion.author().identity(), discussionPostsData.getAuthorIdentity());
        assertEquals(discussion.author().name(), discussionPostsData.getAuthorName());
        assertEquals(discussion.subject(), discussionPostsData.getSubject());
        assertEquals(discussion.exclusiveOwner(), discussionPostsData.getExclusiveOwner());
        assertEquals(discussion.isClosed(), discussionPostsData.isClosed());

        assertNotNull(discussionPostsData.getPosts());
        assertFalse(discussionPostsData.getPosts().isEmpty());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Discussion.subject()

                    .discussionRepository()
                    .discussionOfId(forum.tenant(), new DiscussionId(this.discussionId));

        assertNotNull(newlyStartedDiscussion);
        assertEquals("authorId1", newlyStartedDiscussion.author().identity());
        assertEquals("Discussion Subject", newlyStartedDiscussion.subject());
    }
}
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.subject()

    public void testChangeForumSubject() throws Exception {

        Forum forum = this.forumAggregate();

        assertFalse("A changed subject.".equals(forum.subject()));

        DomainRegistry.forumRepository().save(forum);

        forumApplicationService
            .changeForumSubject(
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.subject()

                    .forumOfId(
                            forum.tenant(),
                            forum.forumId());

        assertNotNull(forum);
        assertEquals("A changed subject.", forum.subject());
    }

    public void testCloseForum() throws Exception {

        Forum forum = this.forumAggregate();
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.subject()

        assertEquals(forum.creator().identity(), forumData.getCreatorIdentity());
        assertEquals(forum.creator().name(), forumData.getCreatorName());
        assertEquals(forum.description(), forumData.getDescription());
        assertEquals(forum.exclusiveOwner(), forumData.getExclusiveOwner());
        assertEquals(forum.isClosed(), forumData.isClosed());
        assertEquals(forum.subject(), forumData.getSubject());
        assertEquals(forum.moderator().emailAddress(), forumData.getModeratorEmailAddress());
        assertEquals(forum.moderator().identity(), forumData.getModeratorIdentity());
        assertEquals(forum.moderator().name(), forumData.getModeratorName());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.