May 28, 2016

SAML2.0 Assertion Query/Request Profile - Introduction



What is SAML


SAML is the short form of Security Assertion Markup Language. It is a universal standard for authentication request messages and response messages. SAML consist with two profiles

  • Active Profile - Process through web browser using redirects
  • Passive Profile - Process directly using API calls (Mostly in mobile applications)


Use case of SSO with SAML is when a Service Provider (SP) has multiple services (Example Google has Gmail, Google Drive, Keep, Google Doc and etc.) users had to logging several times for that services with different credentials. So it is bad experience. Then service provider had to keep multiple database instances to manage users for multiple services. It is worst design for administrative tasks. Security issues can be occur at service provider’s methodology. So SSO separate user credential information from service provider and add it to a separate server called Identity Provider (IDP).It holds user credentials, user roles on multiple services of particular Service provider and other attributes of user like email, contact no, date of register and etc. Service providers can have multiple IDPs and identity provides can have multiple service providers.
Message Flow


According to the order of initiating authentication process there are two types.
  •          IDP Initiative – client directly contact IDP then SP
  •          SP Initiative – client connect with SP first and redirect to IDP

SAML is better for authentication message passing because it eliminate opportunities to phishing attack, eliminate administrative effort, high level of binding with different entities.

SAML Response is consist with Assertion. This SAML response has two sections
  •  Payload format – Content of the message (receiver, sender, signature, user’s attributes and etc.)
  •  Transport format – Relevant information for message transport (IP addresses, protocols, status)
There are three major components are used for SSO functionality with SAML standard.
1. Client/Principal
2. Service Provider (SP)
3. Identity Provider (IDP)

Information flow of client

Information flow of IDP

Information flow of SP


Assertion is a part of the Response message. We can discuss about Assertion in next tutorial.

January 5, 2013

How To Calculate GPA and CGPA



THIS IS HOW CALCULATE YOUR GPA

Grading System                              GRADE Pts                                                                                                                                            
        A+        90-100 4.0
A 80-89 4.0
A- 75-79 3.7
B+        70-74 3.3
B          65-69 3.0
B-         60-64 2.7
C+ 55-59 2.3
C 45-54 2.0
C-         40-44 1.7
D+         35-39 1.3
D           30-34 1.0
E 00-29 0.0

some time this structure may changes according to your university considerations.

think you have 5 subjects for this semester.university announce you that how many credits they gives for each subject.
I imagine like this.

SUBJECT                     CREDITS
subject1 4
subject2 4
subject3 4
subject4 5
subject5 4
TOTAL 21
Now I think i have got below marks at the end of the semester.

SUBJECT                          MARKS
subject1 74 (3.3)
subject2 65 (3.0)
subject3 82 (4.0)
subject4 70 (3.3)
subject5 57 (2.3)

SO YOU CAN CALCULATE YOUR GPA  NOW.First get the Grade Pts  for above marks.then multiply  Grade Pts of the marks  with the CREDITS involve to each subject.Then take the sum of all and devide it by the number of total credits.

GPA= {(3.3*4)+(3.0*4)+(4.0*4)+(3.3*5)+(2.3*4)}/21
      = {13.2+12+16+16.5+9.2}/21
      =3.1857

WHAT IS CGPA (Cumulative Grade Point Average)

CGPA=(1ST YEAR GPA+2ND YEAR GPA+3RD YEAR GPA+4TH YEAR GPA)/4

if
 CGPA>=3.7 -FIRST CLASS HONOURS
 3.3=<CGPA<3.7 -SECOND CLASS HONOURS UPPER DIVISION
 3.0=<CGPA<3.3 -SECOND CLASS HONOURS LOWER DIVISION
 2.0<CGPA<3.0 -PASS

resourced by www.velozit.blogspot.com



December 30, 2012

how dualboot fedora 17 with windows 7(not enough disk space)

how dualboot fedora 17 with windows 7





how dualboot fedora 17 with windows 7
when you goin to install fedora with windows 7 you may meet with several problems.when i am trying to install fedora 17 with windows 7 an error came showing " no enough free space".this is the solution.fedora can't identify if there are more than 3 drivers on your hard drive(C: / D: / E: / F: / etc).

1.first log on to windows 7 and select a drive.then empty it by moving data to another  drive.Then note the size of drive for a future thing.then insert fedora cd and restart your machine.

how dualboot fedora 17 with windows 7
how dualboot fedora 17 with windows 72.run the cd and install fedora to hard drive.after some procedure you will come to this stage.now select "create custom layout" .in next window you can see the drives in your hard drive.in fedora we cant find C: drive or D: drive .......as usual.It was converted to (sdb1,sdb2,sdb3) like this.now you can select drives using tab key and enter key.

3.you can find your emptied drive  by it size.then select "delete drive".then select free space and select "create".in next small window type /  as the name of the drive.you can set any size as you think.but minimum size 5GB.After creating new drive select it and click NEXT.after few steps reboot machine and get the experience of fedora 17.finally log in to windows 7 and search  'create and format hard disk parititions'.now you can make your deleted drive again using free space.now  you have both windows 7 and fedora 17.thank you.